[PATCH] mm: remove unused zone_idx variable fromset_migratetype_isolate
From: Sergey Senozhatsky
Date: Tue Mar 22 2011 - 07:23:30 EST
mm: remove unused variable zone_idx and zone_idx call from set_migratetype_isolate
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
---
mm/page_alloc.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 7945247..b732240 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -5414,10 +5414,8 @@ int set_migratetype_isolate(struct page *page)
struct memory_isolate_notify arg;
int notifier_ret;
int ret = -EBUSY;
- int zone_idx;
zone = page_zone(page);
- zone_idx = zone_idx(zone);
spin_lock_irqsave(&zone->lock, flags);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/