linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] set_migratetype_isolate: remove unused variable.
@ 2011-05-24 13:34 Luca Tettamanti
  2011-05-24 22:29 ` Minchan Kim
  0 siblings, 1 reply; 5+ messages in thread
From: Luca Tettamanti @ 2011-05-24 13:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-mm

Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
---
 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 9d5498e..bcbdaf1 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -5508,10 +5508,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);
 
-- 
1.7.5.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  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:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-25 20:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-24 13:34 [PATCH] set_migratetype_isolate: remove unused variable Luca Tettamanti
2011-05-24 22:29 ` Minchan Kim
2011-05-25  7:28   ` Luca Tettamanti
2011-05-25  7:36     ` KOSAKI Motohiro
2011-05-25 20:31       ` [PATCH v2] " Luca Tettamanti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).