From: Ralf Baechle Date: Wed, 17 Jul 2013 15:28:48 +0000 (+0200) Subject: MIPS: Delete dead invocation of exception_exit(). X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a47bde9b7cbeb87dbb1c5554e90b770d3cc06c5c;p=openwrt%2Fstaging%2Fblogic.git MIPS: Delete dead invocation of exception_exit(). panic() doesn't return so this call was useless. Signed-off-by: Ralf Baechle Reported-by: Alexander Sverdlin --- diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 0903d70b2cfe..3035a40c4559 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -1242,7 +1242,6 @@ asmlinkage void do_mcheck(struct pt_regs *regs) panic("Caught Machine Check exception - %scaused by multiple " "matching entries in the TLB.", (multi_match) ? "" : "not "); - exception_exit(prev_state); } asmlinkage void do_mt(struct pt_regs *regs)