summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2011-05-24 17:11:21 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 08:39:04 -0700
commitac3bbec5ec69b973317677e038de2d1a0c90c18c (patch)
tree7df84a9ba812c1759a035428f6bad78b6e73b8a9 /mm/page_alloc.c
parent965f55dea0e331152fa53941a51e4e16f9f06fae (diff)
downloadop-kernel-dev-ac3bbec5ec69b973317677e038de2d1a0c90c18c.zip
op-kernel-dev-ac3bbec5ec69b973317677e038de2d1a0c90c18c.tar.gz
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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index b144752..eb19ba8 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);
OpenPOWER on IntegriCloud