diff options
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2011-05-24 20:11:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 11:39:04 -0400 |
commit | ac3bbec5ec69b973317677e038de2d1a0c90c18c (patch) | |
tree | 7df84a9ba812c1759a035428f6bad78b6e73b8a9 /mm/page_alloc.c | |
parent | 965f55dea0e331152fa53941a51e4e16f9f06fae (diff) |
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) | |||
5502 | struct memory_isolate_notify arg; | 5502 | struct memory_isolate_notify arg; |
5503 | int notifier_ret; | 5503 | int notifier_ret; |
5504 | int ret = -EBUSY; | 5504 | int ret = -EBUSY; |
5505 | int zone_idx; | ||
5506 | 5505 | ||
5507 | zone = page_zone(page); | 5506 | zone = page_zone(page); |
5508 | zone_idx = zone_idx(zone); | ||
5509 | 5507 | ||
5510 | spin_lock_irqsave(&zone->lock, flags); | 5508 | spin_lock_irqsave(&zone->lock, flags); |
5511 | 5509 | ||