From: Geert Uytterhoeven Date: Wed, 8 Jun 2011 18:31:32 +0000 (+0200) Subject: m68k: Kill warning in setup_arch() when compiling for Sun3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b2cb92417d301f46801695243df5061a9bd31dd5;p=linux-beck.git m68k: Kill warning in setup_arch() when compiling for Sun3 arch/m68k/kernel/setup_mm.c: In function ‘setup_arch’: arch/m68k/kernel/setup_mm.c:219: warning: unused variable ‘i’ Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/m68k/kernel/setup_mm.c b/arch/m68k/kernel/setup_mm.c index 334d83640376..c3b45061dd08 100644 --- a/arch/m68k/kernel/setup_mm.c +++ b/arch/m68k/kernel/setup_mm.c @@ -216,7 +216,9 @@ static void __init m68k_parse_bootinfo(const struct bi_record *record) void __init setup_arch(char **cmdline_p) { +#ifndef CONFIG_SUN3 int i; +#endif /* The bootinfo is located right after the kernel bss */ m68k_parse_bootinfo((const struct bi_record *)_end);