From: Sergey Senozhatsky Date: Wed, 25 May 2011 00:11:21 +0000 (-0700) Subject: mm: remove unused zone_idx variable from set_migratetype_isolate X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ac3bbec5ec69b973317677e038de2d1a0c90c18c;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git mm: remove unused zone_idx variable from set_migratetype_isolate Signed-off-by: Sergey Senozhatsky Reviewed-by: Christoph Lameter Acked-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/page_alloc.c b/mm/page_alloc.c index b1447522d34..eb19ba8396c 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -5502,10 +5502,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);