Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1579280 > unrolled thread
| Started by | Mathias Krause <minipli@googlemail.com> |
|---|---|
| First post | 2017-02-12 22:20 +0100 |
| Last post | 2017-02-13 10:10 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 6/6] m68k: paging_init - remove dead code Mathias Krause <minipli@googlemail.com> - 2017-02-12 22:20 +0100
Re: [PATCH 6/6] m68k: paging_init - remove dead code Geert Uytterhoeven <geert@linux-m68k.org> - 2017-02-13 10:10 +0100
| From | Mathias Krause <minipli@googlemail.com> |
|---|---|
| Date | 2017-02-12 22:20 +0100 |
| Subject | [PATCH 6/6] m68k: paging_init - remove dead code |
| Message-ID | <ta9IR-2Tv-3@gated-at.bofh.it> |
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@linux-m68k.org>
Signed-off-by: Mathias Krause <minipli@googlemail.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
[toc] | [next] | [standalone]
| From | Geert Uytterhoeven <geert@linux-m68k.org> |
|---|---|
| Date | 2017-02-13 10:10 +0100 |
| Message-ID | <takNX-1Fl-1@gated-at.bofh.it> |
| In reply to | #1579280 |
On Sun, Feb 12, 2017 at 10:12 PM, Mathias Krause <minipli@googlemail.com> wrote:
> 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@linux-m68k.org>
> Signed-off-by: Mathias Krause <minipli@googlemail.com>
Thanks, applied with rewritten one-line summary to match subsystem
style, and queued for v4.11.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web