Commit ac3bbec5 authored by Sergey Senozhatsky's avatar Sergey Senozhatsky Committed by Linus Torvalds

mm: remove unused zone_idx variable from set_migratetype_isolate

Signed-off-by: default avatarSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Reviewed-by: default avatarChristoph Lameter <cl@linux.com>
Acked-by: default avatarKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 965f55de
...@@ -5502,10 +5502,8 @@ int set_migratetype_isolate(struct page *page) ...@@ -5502,10 +5502,8 @@ int set_migratetype_isolate(struct page *page)
struct memory_isolate_notify arg; struct memory_isolate_notify arg;
int notifier_ret; int notifier_ret;
int ret = -EBUSY; int ret = -EBUSY;
int zone_idx;
zone = page_zone(page); zone = page_zone(page);
zone_idx = zone_idx(zone);
spin_lock_irqsave(&zone->lock, flags); spin_lock_irqsave(&zone->lock, flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment