From: Tang Chen Date: Wed, 20 Feb 2013 02:14:26 +0000 (+1100) Subject: Bug fix: Remove the unused sanitize_zone_movable_limit() definition. X-Git-Tag: next-20130220~1^2~505 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d22dfc50c62b830570dd6aed7136f3a5f7cdbc60;p=karo-tx-linux.git 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 --- 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,