diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2021-10-20 19:43:50 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2021-10-20 20:09:56 +0200 |
commit | 97cae848270731e4224681368f2061c94a9fc588 (patch) | |
tree | 97b687189a8f2c6ce145cb1d4dbfb6ee2bd67503 /arch | |
parent | reboot: Remove the unreachable panic after do_exit in reboot(2) (diff) | |
download | linux-97cae848270731e4224681368f2061c94a9fc588.tar.xz linux-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')
-rw-r--r-- | arch/sparc/mm/fault_32.c | 1 |
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 |