mm: vmscan: Fix up build warning
authorAndy Green <andy.green@linaro.org>
Tue, 6 Aug 2013 02:48:32 +0000 (19:48 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 6 Aug 2013 02:48:50 +0000 (19:48 -0700)
There's an unused var warning

/projects/linaro/linux-2.6/mm/vmscan.c: In function ‘debug_shrinker_show’:
/projects/linaro/linux-2.6/mm/vmscan.c:170:8: warning: unused variable ‘name’ [-Wunused-variable]

introduced from this patch from androidization
series -->

commit ad42da0cc73761e405128e71c58eda40c25367d4
Author: Rebecca Schultz Zavin <rebecca@android.com>
Date:   Fri Oct 5 13:54:59 2012 -0700

    mm: vmscan: Add a debug file for shrinkers

this patch cleans it out

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
mm/vmscan.c

index 80c0b17373f79944234613aa56468080361f2ff5..5d41059e1e924b4bcb31c73083c59d0a114e09b0 100644 (file)
@@ -167,7 +167,6 @@ static int debug_shrinker_show(struct seq_file *s, void *unused)
 
        down_read(&shrinker_rwsem);
        list_for_each_entry(shrinker, &shrinker_list, list) {
-               char name[64];
                int num_objs;
 
                num_objs = shrinker->shrink(shrinker, &sc);