From: Mathias Krause Date: Sun, 12 Feb 2017 21:12:12 +0000 (+0100) Subject: m68k/sun3: Remove dead code in paging_init() X-Git-Tag: v4.14-rc1~1498^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3dfe33020ca8a5e4f72993cc792a4838c464c8b3;p=platform%2Fkernel%2Flinux-rpi3.git 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 Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/m68k/mm/sun3mmu.c b/arch/m68k/mm/sun3mmu.c index b5b7d53..177d776 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;