[MIPS] IP32: Fix warnings.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 30 May 2006 01:13:16 +0000 (02:13 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 5 Jun 2006 23:15:19 +0000 (00:15 +0100)
The expressions are volatile; no need for temporary variables.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip32/ip32-irq.c

index de01c98..8ba0804 100644 (file)
 /* 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