* [PATCH] mm: remove unused zone_idx variable from set_migratetype_isolate
@ 2011-03-22 11:26 Sergey Senozhatsky
2011-03-22 13:43 ` Christoph Lameter
2011-03-23 4:33 ` KAMEZAWA Hiroyuki
0 siblings, 2 replies; 3+ messages in thread
From: Sergey Senozhatsky @ 2011-03-22 11:26 UTC (permalink / raw)
To: Andrew Morton
Cc: KAMEZAWA Hiroyuki, Christoph Lameter, linux-mm, linux-kernel
mm: remove unused variable zone_idx and zone_idx call from set_migratetype_isolate
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@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 7945247..b732240 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -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 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 [flat|nested] 3+ messages in thread
* Re: [PATCH] mm: remove unused zone_idx variable from set_migratetype_isolate
2011-03-22 11:26 [PATCH] mm: remove unused zone_idx variable from set_migratetype_isolate Sergey Senozhatsky
@ 2011-03-22 13:43 ` Christoph Lameter
2011-03-23 4:33 ` KAMEZAWA Hiroyuki
1 sibling, 0 replies; 3+ messages in thread
From: Christoph Lameter @ 2011-03-22 13:43 UTC (permalink / raw)
To: Sergey Senozhatsky
Cc: Andrew Morton, KAMEZAWA Hiroyuki, linux-mm, linux-kernel
On Tue, 22 Mar 2011, Sergey Senozhatsky wrote:
> mm: remove unused variable zone_idx and zone_idx call from set_migratetype_isolate
>
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Reviewed-by: Christoph Lameter <cl@linux.com>
--
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 [flat|nested] 3+ messages in thread
* Re: [PATCH] mm: remove unused zone_idx variable from set_migratetype_isolate
2011-03-22 11:26 [PATCH] mm: remove unused zone_idx variable from set_migratetype_isolate Sergey Senozhatsky
2011-03-22 13:43 ` Christoph Lameter
@ 2011-03-23 4:33 ` KAMEZAWA Hiroyuki
1 sibling, 0 replies; 3+ messages in thread
From: KAMEZAWA Hiroyuki @ 2011-03-23 4:33 UTC (permalink / raw)
To: Sergey Senozhatsky
Cc: Andrew Morton, Christoph Lameter, linux-mm, linux-kernel
On Tue, 22 Mar 2011 13:26:47 +0200
Sergey Senozhatsky <sergey.senozhatsky@gmail.com> wrote:
> mm: remove unused variable zone_idx and zone_idx call from set_migratetype_isolate
>
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
--
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 [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-23 4:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-22 11:26 [PATCH] mm: remove unused zone_idx variable from set_migratetype_isolate Sergey Senozhatsky
2011-03-22 13:43 ` Christoph Lameter
2011-03-23 4:33 ` KAMEZAWA Hiroyuki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox