Skip to content

Commit

Permalink
MIPS: Fix build error due to unused variables.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ralfbaechle committed Dec 22, 2015
1 parent 2a037f3 commit ec7b972
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion arch/mips/pci/pci-rt2880.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
void __iomem *io_map_base;
int i;

rt2880_pci_base = ioremap_nocache(RT2880_PCI_BASE, PAGE_SIZE);

Expand Down
1 change: 0 additions & 1 deletion arch/mips/pmcs-msp71xx/msp_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/sni/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ... */
Expand Down

0 comments on commit ec7b972

Please sign in to comment.