提交 b40bb20e 编写于 作者: W Wu Zhangjin 提交者: Ralf Baechle

MIPS: Loongson: Remove redundant local_irq_disable()

That code is executed with irq disabled already, so, remove the redundant
local_irq_disable() here.
Signed-off-by: NWu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 01a6fbf7
......@@ -55,7 +55,6 @@ void __init arch_init_irq(void)
* int-handler is not on bootstrap
*/
clear_c0_status(ST0_IM | ST0_BEV);
local_irq_disable();
/* setting irq trigger mode */
set_irq_trigger_mode();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册