[PATCH] count_vm_events-warning-fix
authorAndrew Morton <akpm@osdl.org>
Sat, 10 Feb 2007 09:44:41 +0000 (01:44 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:25 +0000 (10:51 -0800)
commit780a065668b1c6ca6a70c7d36b9f6552ea3bb5f5
tree4d61d1d042a1a58b84bdf8f5b4b0a33146271a54
parent7131b6d167b41593463ce98df17e101e776bf5ec
[PATCH] count_vm_events-warning-fix

- Prevent things like this:

block/ll_rw_blk.c: In function 'submit_bio':
block/ll_rw_blk.c:3222: warning: unused variable 'count'

  inlines are very, very preferable to macros.

- remove unused get_cpu_vm_events() macro

Cc: Christoph Lameter <clameter@engr.sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/vmstat.h