diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-11-27 19:17:01 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-12-22 15:21:18 +0100 |
commit | ec7b97208aaed46bd3fbe166d5909228c380a720 (patch) | |
tree | 9fa59ab52ddc46f50e4058da5704a811d00bc674 /arch/mips/sni | |
parent | 2a037f310bab89b7db5b86c7954cf69c229c87ca (diff) |
MIPS: Fix build error due to unused variables.
c861519fcf95b2d46cb4275903423b43ae150a40 ("MIPS: Fix delay loops which may
be removed by GCC.") which made it upstream was an outdated version of the
patch and is lacking some the removal of two variables that became unused
thus resulting in further warnings and build breakage. The commit
from ae878615d7cee5d7346946cf1ae1b60e427013c2 was correct however.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sni')
-rw-r--r-- | arch/mips/sni/reset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/sni/reset.c b/arch/mips/sni/reset.c index db8f88b6a3af..6afa34346b81 100644 --- a/arch/mips/sni/reset.c +++ b/arch/mips/sni/reset.c @@ -26,7 +26,7 @@ static inline void kb_wait(void) /* XXX This ends up at the ARC firmware prompt ... */ void sni_machine_restart(char *command) { - int i, j; + int i; /* This does a normal via the keyboard controller like a PC. We can do that easier ... */ |