summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2017-02-12 22:12:12 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2017-02-13 10:03:19 +0100
commit3dfe33020ca8a5e4f72993cc792a4838c464c8b3 (patch)
tree5d506948c7dcf381813ef465f0c0666acc5a25af /arch/m68k
parentf0b914aeea8ed2abe8e53779ec620eac2129d03f (diff)
downloadlinux-stable-3dfe33020ca8a5e4f72993cc792a4838c464c8b3.tar.gz
linux-stable-3dfe33020ca8a5e4f72993cc792a4838c464c8b3.tar.bz2
linux-stable-3dfe33020ca8a5e4f72993cc792a4838c464c8b3.zip
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>
Diffstat (limited to 'arch/m68k')
-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)
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;