diff options
author | Eric W. Biederman | 2021-10-20 12:43:50 -0500 |
---|---|---|
committer | Eric W. Biederman | 2021-10-20 13:09:56 -0500 |
commit | 97cae848270731e4224681368f2061c94a9fc588 (patch) | |
tree | 97b687189a8f2c6ce145cb1d4dbfb6ee2bd67503 /arch | |
parent | a52f60fa2905b4abb26235d0a11cff13ced92709 (diff) |
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 |