Skip to contentSkip to conversation

Remove redundant local_irq_disable()

PATCH Applied Wu Zhangjin 2 participants 2 messages Oct 8, 2009 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove redundant local_irq_disable()

That code is executed with irq disabled already, so, Remove the redundant local_irq_disable() here.

---
 arch/mips/loongson/common/irq.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/mips/loongson/common/irq.c +0 -1
index 53dff17..20e7328 100644
@@ -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();
Signature · 1 line
1.6.2.1
Applied
#1 lore raw
Quoted 2 lines · Wu Zhangjin

That code is executed with irq disabled already, so, Remove the redundant local_irq_disable() here.

Applied, thanks!

Ralf