Commit b40bb20e authored by Wu Zhangjin's avatar Wu Zhangjin Committed by 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: default avatarWu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 01a6fbf7
...@@ -55,7 +55,6 @@ void __init arch_init_irq(void) ...@@ -55,7 +55,6 @@ void __init arch_init_irq(void)
* int-handler is not on bootstrap * int-handler is not on bootstrap
*/ */
clear_c0_status(ST0_IM | ST0_BEV); clear_c0_status(ST0_IM | ST0_BEV);
local_irq_disable();
/* setting irq trigger mode */ /* setting irq trigger mode */
set_irq_trigger_mode(); set_irq_trigger_mode();
......
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