diff options
author | Wu Zhangjin <wuzhangjin@gmail.com> | 2009-10-08 16:39:50 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-11-02 14:00:02 +0300 |
commit | b40bb20e74a02dbe80fc7be6d0f9f05344051d20 (patch) | |
tree | e5fd04310c97cef44d76b814b9104b49ca310a19 /arch | |
parent | 01a6fbf759a17940079fbdc0a4d43b596f323e7b (diff) | |
download | linux-b40bb20e74a02dbe80fc7be6d0f9f05344051d20.tar.xz |
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: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/loongson/common/irq.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/loongson/common/irq.c b/arch/mips/loongson/common/irq.c index f368c735cbd3..b32b4a3e5137 100644 --- a/arch/mips/loongson/common/irq.c +++ b/arch/mips/loongson/common/irq.c @@ -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(); |