]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
MIPS: Delete dead invocation of exception_exit().
authorRalf Baechle <ralf@linux-mips.org>
Wed, 17 Jul 2013 15:28:48 +0000 (17:28 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 17 Jul 2013 15:28:48 +0000 (17:28 +0200)
panic() doesn't return so this call was useless.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Reported-by: Alexander Sverdlin <alexander.sverdlin@nsn.com>
arch/mips/kernel/traps.c

index 0903d70b2cfe7940a154b8f66e8ded3762b3035b..3035a40c4559ca497bce5bd587c049d9dae99a14 100644 (file)
@@ -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 ");
        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)
 }
 
 asmlinkage void do_mt(struct pt_regs *regs)