From d22dfc50c62b830570dd6aed7136f3a5f7cdbc60 Mon Sep 17 00:00:00 2001 From: Tang Chen Date: Wed, 20 Feb 2013 13:14:26 +1100 Subject: [PATCH] Bug fix: Remove the unused sanitize_zone_movable_limit() definition. When CONFIG_HAVE_MEMBLOCK_NODE_MAP is not defined, sanitize_zone_movable_limit() is also not used. So remove it. Signed-off-by: Tang Chen Cc: Liu Jiang Cc: Wen Congyang Cc: Wu Jianguo Cc: Lai Jiangshan Cc: Lin Feng Signed-off-by: Andrew Morton --- mm/page_alloc.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 080fac750c97..a93da9e7fce3 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -4464,11 +4464,6 @@ static inline unsigned long __meminit zone_absent_pages_in_node(int nid, return zholes_size[zone_type]; } - -static void __meminit sanitize_zone_movable_limit(void) -{ -} - #endif /* CONFIG_HAVE_MEMBLOCK_NODE_MAP */ static void __meminit calculate_node_totalpages(struct pglist_data *pgdat, -- 2.39.5