]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
mm: remove unused zone_idx variable from set_migratetype_isolate
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Wed, 25 May 2011 00:11:21 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 May 2011 15:39:04 +0000 (08:39 -0700)
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Reviewed-by: Christoph Lameter <cl@linux.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c

index b1447522d346e45651d7945ea57f454933038af6..eb19ba8396c3bc4f84558b575ad144673f2faeb7 100644 (file)
@@ -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);