[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1486933932-585-7-git-send-email-minipli@googlemail.com>
Date: Sun, 12 Feb 2017 22:12:12 +0100
From: Mathias Krause <minipli@...glemail.com>
To: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Borislav Petkov <bp@...en8.de>,
"David S. Miller" <davem@...emloft.net>,
Jesper Nilsson <jesper.nilsson@...s.com>,
Mikael Starvik <starvik@...s.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>, x86@...nel.org,
linux-kernel@...r.kernel.org,
Mathias Krause <minipli@...glemail.com>,
linux-m68k@...ts.linux-m68k.org
Subject: [PATCH 6/6] m68k: paging_init - remove dead code
The macro TEST_VERIFY_AREA can never be defined as there's no
wp_works_ok variable. So just remove the dead code.
Cc: Geert Uytterhoeven <geert@...ux-m68k.org>
Signed-off-by: Mathias Krause <minipli@...glemail.com>
---
arch/m68k/mm/sun3mmu.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/m68k/mm/sun3mmu.c b/arch/m68k/mm/sun3mmu.c
index b5b7d53f7283..177d776de1a0 100644
--- a/arch/m68k/mm/sun3mmu.c
+++ b/arch/m68k/mm/sun3mmu.c
@@ -44,9 +44,6 @@ void __init paging_init(void)
unsigned long zones_size[MAX_NR_ZONES] = { 0, };
unsigned long size;
-#ifdef TEST_VERIFY_AREA
- wp_works_ok = 0;
-#endif
empty_zero_page = alloc_bootmem_pages(PAGE_SIZE);
address = PAGE_OFFSET;
--
1.7.10.4
Powered by blists - more mailing lists