Commit b6d7c7a9 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] IP32: Fix warnings.

    
The expressions are volatile; no need for temporary variables.
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 7cb710c9
...@@ -31,12 +31,12 @@ ...@@ -31,12 +31,12 @@
/* issue a PIO read to make sure no PIO writes are pending */ /* issue a PIO read to make sure no PIO writes are pending */
static void inline flush_crime_bus(void) static void inline flush_crime_bus(void)
{ {
volatile unsigned long junk = crime->control; crime->control;
} }
static void inline flush_mace_bus(void) static void inline flush_mace_bus(void)
{ {
volatile unsigned long junk = mace->perif.ctrl.misc; mace->perif.ctrl.misc;
} }
#undef DEBUG_IRQ #undef DEBUG_IRQ
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment