diff options
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2011-05-25 02:11:21 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 17:39:04 +0200 |
commit | ac3bbec5ec69b973317677e038de2d1a0c90c18c (patch) | |
tree | 7df84a9ba812c1759a035428f6bad78b6e73b8a9 /mm/page_alloc.c | |
parent | mmap: avoid merging cloned VMAs (diff) | |
download | linux-ac3bbec5ec69b973317677e038de2d1a0c90c18c.tar.xz linux-ac3bbec5ec69b973317677e038de2d1a0c90c18c.zip |
mm: remove unused zone_idx variable from set_migratetype_isolate
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>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | 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 b1447522d346..eb19ba8396c3 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); |