Skip to content

Commit ec7b972

Browse files
committed
MIPS: Fix build error due to unused variables.
c861519 ("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 ae87861 was correct however. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 2a037f3 commit ec7b972

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

arch/mips/pci/pci-rt2880.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
221221
static int rt288x_pci_probe(struct platform_device *pdev)
222222
{
223223
void __iomem *io_map_base;
224-
int i;
225224

226225
rt2880_pci_base = ioremap_nocache(RT2880_PCI_BASE, PAGE_SIZE);
227226

arch/mips/pmcs-msp71xx/msp_setup.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ extern void msp_serial_setup(void);
3939
void msp7120_reset(void)
4040
{
4141
void *start, *end, *iptr;
42-
register int i;
4342

4443
/* Diasble all interrupts */
4544
local_irq_disable();

arch/mips/sni/reset.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ static inline void kb_wait(void)
2626
/* XXX This ends up at the ARC firmware prompt ... */
2727
void sni_machine_restart(char *command)
2828
{
29-
int i, j;
29+
int i;
3030

3131
/* This does a normal via the keyboard controller like a PC.
3232
We can do that easier ... */

0 commit comments

Comments
 (0)