Skip to content

Commit

Permalink
m68k: Kill warning in setup_arch() when compiling for Sun3
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven committed Jul 30, 2011
1 parent 3984761 commit b2cb924
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/m68k/kernel/setup_mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b2cb924

Please sign in to comment.