Skip to content

Commit

Permalink
mm: remove unused zone_idx variable from set_migratetype_isolate
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sergey Senozhatsky authored and Linus Torvalds committed May 25, 2011
1 parent 965f55d commit ac3bbec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ac3bbec

Please sign in to comment.