diff options
author | Wu Zhangjin <wuzhangjin@gmail.com> | 2009-10-08 20:39:50 +0800 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-11-02 12:00:02 +0100 |
commit | b40bb20e74a02dbe80fc7be6d0f9f05344051d20 (patch) | |
tree | e5fd04310c97cef44d76b814b9104b49ca310a19 /arch/mips/loongson | |
parent | 01a6fbf759a17940079fbdc0a4d43b596f323e7b (diff) | |
download | op-kernel-dev-b40bb20e74a02dbe80fc7be6d0f9f05344051d20.zip op-kernel-dev-b40bb20e74a02dbe80fc7be6d0f9f05344051d20.tar.gz |
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/mips/loongson')
-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 f368c73..b32b4a3 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(); |