m68k/sun3: Remove dead code in paging_init()
authorMathias Krause <minipli@googlemail.com>
Sun, 12 Feb 2017 21:12:12 +0000 (22:12 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 13 Feb 2017 09:03:19 +0000 (10:03 +0100)
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>
arch/m68k/mm/sun3mmu.c

index b5b7d53f7283833b364ffa7f4ec86d0727fb4c4e..177d776de1a09d5557984b9597b692c361c068c6 100644 (file)
@@ -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;