aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2021-10-20 12:43:50 -0500
committerEric W. Biederman <ebiederm@xmission.com>2021-10-20 13:09:56 -0500
commit97cae848270731e4224681368f2061c94a9fc588 (patch)
tree97b687189a8f2c6ce145cb1d4dbfb6ee2bd67503 /arch/sparc/mm
parentreboot: Remove the unreachable panic after do_exit in reboot(2) (diff)
downloadlinux-dev-97cae848270731e4224681368f2061c94a9fc588.tar.xz
linux-dev-97cae848270731e4224681368f2061c94a9fc588.zip
signal/sparc32: Remove unreachable do_exit in do_sparc_fault
The call to do_exit in do_sparc_fault immediately follows a call to unhandled_fault. The function unhandled_fault never returns. This means the call to do_exit can never be reached. Cc: David Miller <davem@davemloft.net> Cc: sparclinux@vger.kernel.org Fixes: 2.3.41 Link: https://lkml.kernel.org/r/20211020174406.17889-4-ebiederm@xmission.com Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'arch/sparc/mm')
-rw-r--r--arch/sparc/mm/fault_32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sparc/mm/fault_32.c b/arch/sparc/mm/fault_32.c
index fa858626b85b..90dc4ae315c8 100644
--- a/arch/sparc/mm/fault_32.c
+++ b/arch/sparc/mm/fault_32.c
@@ -248,7 +248,6 @@ no_context:
}
unhandled_fault(address, tsk, regs);
- do_exit(SIGKILL);
/*
* We ran out of memory, or some other thing happened to us that made