summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi-ip32/ip32-irq.c
diff options
context:
space:
mode:
authorRalf Baechle2006-05-30 03:13:16 +0200
committerRalf Baechle2006-06-06 01:15:19 +0200
commitb6d7c7a91138c883f890c204cd5300172145b0b3 (patch)
treecc4b2de6381748b13d181147ab754d943ee2e11c /arch/mips/sgi-ip32/ip32-irq.c
parent[MIPS] Fix non-linear memory mapping on MIPS (diff)
downloadkernel-qcow2-linux-b6d7c7a91138c883f890c204cd5300172145b0b3.tar.gz
kernel-qcow2-linux-b6d7c7a91138c883f890c204cd5300172145b0b3.tar.xz
kernel-qcow2-linux-b6d7c7a91138c883f890c204cd5300172145b0b3.zip
[MIPS] IP32: Fix warnings.
The expressions are volatile; no need for temporary variables. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip32/ip32-irq.c')
-rw-r--r--arch/mips/sgi-ip32/ip32-irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/sgi-ip32/ip32-irq.c b/arch/mips/sgi-ip32/ip32-irq.c
index de01c9815bdd..8ba08047d164 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