aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2013-08-05 19:48:32 -0700
committerJohn Stultz <john.stultz@linaro.org>2013-08-05 19:48:50 -0700
commit8c02283ab5983c9f6ef278faa5b803b22e864a41 (patch)
tree8a7bf03e5a9a6de79bcaf4382258b78914950850
parentbb00c9ddc5f63be7bb5893ee6aaeabd1f059130f (diff)
mm: vmscan: Fix up build warning
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>
-rw-r--r--mm/vmscan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 80c0b17373f..5d41059e1e9 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -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);