diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-06-08 14:31:32 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-07-30 15:21:39 -0400 |
commit | b2cb92417d301f46801695243df5061a9bd31dd5 (patch) | |
tree | d81edb1145790b2a4fe0f41b008ce935efd856a3 /arch | |
parent | 398476195a561271654ecce0fa27330688d326df (diff) |
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 <geert@linux-m68k.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/m68k/kernel/setup_mm.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
216 | 216 | ||
217 | void __init setup_arch(char **cmdline_p) | 217 | void __init setup_arch(char **cmdline_p) |
218 | { | 218 | { |
219 | #ifndef CONFIG_SUN3 | ||
219 | int i; | 220 | int i; |
221 | #endif | ||
220 | 222 | ||
221 | /* The bootinfo is located right after the kernel bss */ | 223 | /* The bootinfo is located right after the kernel bss */ |
222 | m68k_parse_bootinfo((const struct bi_record *)_end); | 224 | m68k_parse_bootinfo((const struct bi_record *)_end); |