aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2017-02-12 16:12:12 -0500
committerGeert Uytterhoeven <geert@linux-m68k.org>2017-02-13 04:03:19 -0500
commit3dfe33020ca8a5e4f72993cc792a4838c464c8b3 (patch)
tree5d506948c7dcf381813ef465f0c0666acc5a25af
parentf0b914aeea8ed2abe8e53779ec620eac2129d03f (diff)
m68k/sun3: Remove dead code in paging_init()
The macro TEST_VERIFY_AREA can never be defined as there's no wp_works_ok variable. So just remove the dead code. Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
-rw-r--r--arch/m68k/mm/sun3mmu.c3
1 files changed, 0 insertions, 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)
44 unsigned long zones_size[MAX_NR_ZONES] = { 0, }; 44 unsigned long zones_size[MAX_NR_ZONES] = { 0, };
45 unsigned long size; 45 unsigned long size;
46 46
47#ifdef TEST_VERIFY_AREA
48 wp_works_ok = 0;
49#endif
50 empty_zero_page = alloc_bootmem_pages(PAGE_SIZE); 47 empty_zero_page = alloc_bootmem_pages(PAGE_SIZE);
51 48
52 address = PAGE_OFFSET; 49 address = PAGE_OFFSET;