From: Johannes Weiner Date: Tue, 26 Mar 2013 23:24:43 +0000 (+1100) Subject: x86-64: remove dead debugging code for !pse setups X-Git-Tag: next-20130404~3^2~372 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3cbbcb9fad692e9c5c79cd61ff303bb17328d332;p=karo-tx-linux.git x86-64: remove dead debugging code for !pse setups No need to maintain addr_end and p_end when they are never actually read anywhere on !pse setups. Remove the dead code. Signed-off-by: Johannes Weiner Cc: Ben Hutchings Cc: Bernhard Schmidt Cc: Johannes Weiner Cc: Russell King Cc: Ingo Molnar Cc: Thomas Gleixner Cc: "H. Peter Anvin" Cc: Benjamin Herrenschmidt Cc: "Luck, Tony" Cc: Heiko Carstens Cc: David Miller Signed-off-by: Andrew Morton --- diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 5bd71c147260..bc65a0792172 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -1311,9 +1311,6 @@ int __meminit vmemmap_populate(unsigned long start, unsigned long end, int node) if (!p) return -ENOMEM; - - addr_end = addr + PAGE_SIZE; - p_end = p + PAGE_SIZE; } else { next = pmd_addr_end(addr, end);