Commit ec7b9720 authored by Ralf Baechle's avatar Ralf Baechle

MIPS: Fix build error due to unused variables.

c861519f ("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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 2a037f31
...@@ -221,7 +221,6 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) ...@@ -221,7 +221,6 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
static int rt288x_pci_probe(struct platform_device *pdev) static int rt288x_pci_probe(struct platform_device *pdev)
{ {
void __iomem *io_map_base; void __iomem *io_map_base;
int i;
rt2880_pci_base = ioremap_nocache(RT2880_PCI_BASE, PAGE_SIZE); rt2880_pci_base = ioremap_nocache(RT2880_PCI_BASE, PAGE_SIZE);
......
...@@ -39,7 +39,6 @@ extern void msp_serial_setup(void); ...@@ -39,7 +39,6 @@ extern void msp_serial_setup(void);
void msp7120_reset(void) void msp7120_reset(void)
{ {
void *start, *end, *iptr; void *start, *end, *iptr;
register int i;
/* Diasble all interrupts */ /* Diasble all interrupts */
local_irq_disable(); local_irq_disable();
......
...@@ -26,7 +26,7 @@ static inline void kb_wait(void) ...@@ -26,7 +26,7 @@ static inline void kb_wait(void)
/* XXX This ends up at the ARC firmware prompt ... */ /* XXX This ends up at the ARC firmware prompt ... */
void sni_machine_restart(char *command) void sni_machine_restart(char *command)
{ {
int i, j; int i;
/* This does a normal via the keyboard controller like a PC. /* This does a normal via the keyboard controller like a PC.
We can do that easier ... */ We can do that easier ... */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment