summaryrefslogtreecommitdiffstats
path: root/arch/mips/pmcs-msp71xx
diff options
context:
space:
mode:
authorRalf Baechle2015-11-27 19:17:01 +0100
committerRalf Baechle2015-12-22 15:21:18 +0100
commitec7b97208aaed46bd3fbe166d5909228c380a720 (patch)
tree9fa59ab52ddc46f50e4058da5704a811d00bc674 /arch/mips/pmcs-msp71xx
parentMIPS: VDSO: Fix build error (diff)
downloadkernel-qcow2-linux-ec7b97208aaed46bd3fbe166d5909228c380a720.tar.gz
kernel-qcow2-linux-ec7b97208aaed46bd3fbe166d5909228c380a720.tar.xz
kernel-qcow2-linux-ec7b97208aaed46bd3fbe166d5909228c380a720.zip
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/pmcs-msp71xx')
-rw-r--r--arch/mips/pmcs-msp71xx/msp_setup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/pmcs-msp71xx/msp_setup.c b/arch/mips/pmcs-msp71xx/msp_setup.c
index 78b2ef49dbc7..9d293b3e9130 100644
--- a/arch/mips/pmcs-msp71xx/msp_setup.c
+++ b/arch/mips/pmcs-msp71xx/msp_setup.c
@@ -39,7 +39,6 @@ extern void msp_serial_setup(void);
void msp7120_reset(void)
{
void *start, *end, *iptr;
- register int i;
/* Diasble all interrupts */
local_irq_disable();