projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3984761
)
m68k: Kill warning in setup_arch() when compiling for Sun3
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Wed, 8 Jun 2011 18:31:32 +0000
(20:31 +0200)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Sat, 30 Jul 2011 19:21:39 +0000
(21:21 +0200)
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>
arch/m68k/kernel/setup_mm.c
patch
|
blob
|
history
diff --git
a/arch/m68k/kernel/setup_mm.c
b/arch/m68k/kernel/setup_mm.c
index
334d836
..
c3b4506
100644
(file)
--- 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);