>From 2f3e4d5a68dfe8f42563ca0d5e530d8615b9a017 Mon Sep 17 00:00:00 2001 From: Minchan Kim <minchan@xxxxxxxxxx> Date: Sat, 5 May 2012 08:20:27 +0900 Subject: [PATCH 2/3] compaction: remove unnecessary initialization nr_pageblocks_skipped is declared with initialization 0. It's not good habit because it prevents warning of compiler about -Wuninitialized. Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx> --- mm/compaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/compaction.c b/mm/compaction.c index 2f6ba0f..72bd87a 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -810,7 +810,7 @@ unsigned long try_to_compact_pages(struct zonelist *zonelist, struct zoneref *z; struct zone *zone; int rc = COMPACT_SKIPPED; - unsigned long nr_pageblocks_skipped = 0; + unsigned long nr_pageblocks_skipped; enum compact_mode mode = sync ? COMPACT_SYNC : COMPACT_ASYNC_MOVABLE; /* -- 1.7.9.5 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. 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@xxxxxxxxx"> email@xxxxxxxxx </a>