Skip to contentSkip to conversation

mm: remove unused zone_idx variable from set_migratetype_isolate

PATCH In review Sergey Senozhatsky 3 participants 3 messages Mar 22, 2011 – Mar 23, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm: remove unused zone_idx variable from set_migratetype_isolate

mm: remove unused variable zone_idx and zone_idx call from set_migratetype_isolate

---

 mm/page_alloc.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
mm/page_alloc.c +0 -2
index 7945247..b732240 100644
@@ -5414,10 +5414,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);
 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Sergey Senozhatsky

mm: remove unused variable zone_idx and zone_idx call from set_migratetype_isolate

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>