提交 b6d7c7a9 编写于 作者: R Ralf Baechle

[MIPS] IP32: Fix warnings.

    
The expressions are volatile; no need for temporary variables.
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册