mirror of https://gitee.com/openkylin/linux.git
[MIPS] IP32: Fix warnings.
The expressions are volatile; no need for temporary variables. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
7cb710c9a6
commit
b6d7c7a911
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue