Skip to content

Commit

Permalink
[MIPS] IP32: Fix warnings.
Browse files Browse the repository at this point in the history
    
The expressions are volatile; no need for temporary variables.
    
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
ralfbaechle committed Jun 5, 2006
1 parent 7cb710c commit b6d7c7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/sgi-ip32/ip32-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
/* issue a PIO read to make sure no PIO writes are pending */
static void inline flush_crime_bus(void)
{
volatile unsigned long junk = crime->control;
crime->control;
}

static void inline flush_mace_bus(void)
{
volatile unsigned long junk = mace->perif.ctrl.misc;
mace->perif.ctrl.misc;
}

#undef DEBUG_IRQ
Expand Down

0 comments on commit b6d7c7a

Please sign in to comment.