From: Ralf Baechle Date: Tue, 30 May 2006 01:13:16 +0000 (+0100) Subject: [MIPS] IP32: Fix warnings. X-Git-Tag: v2.6.17-rc6~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b6d7c7a91138c883f890c204cd5300172145b0b3;p=linux-2.6-omap-h63xx.git [MIPS] IP32: Fix warnings. The expressions are volatile; no need for temporary variables. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/sgi-ip32/ip32-irq.c b/arch/mips/sgi-ip32/ip32-irq.c index de01c9815bd..8ba08047d16 100644 --- a/arch/mips/sgi-ip32/ip32-irq.c +++ b/arch/mips/sgi-ip32/ip32-irq.c @@ -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