arm64: signal: Don't print anything directly in force_signal_inject
authorWill Deacon <will.deacon@arm.com>
Tue, 20 Feb 2018 15:25:19 +0000 (15:25 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 6 Mar 2018 18:52:23 +0000 (18:52 +0000)
arm64_notify_die deals with printing out information regarding unhandled
signals, so there's no need to roll our own code here.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/traps.c

index 00516f3956e4d31eba5a9ba661e022677819454d..835411cab38c0b94ceb6cd66a9943f70e8d772d4 100644 (file)
@@ -363,13 +363,6 @@ void force_signal_inject(int signal, int code, unsigned long address)
                signal = SIGKILL;
        }
 
-       if (unhandled_signal(current, signal) &&
-           show_unhandled_signals_ratelimited()) {
-               pr_info("%s[%d]: %s: pc=%08llx\n",
-                       current->comm, task_pid_nr(current), desc, regs->pc);
-               dump_instr(KERN_INFO, regs);
-       }
-
        info.si_signo = signal;
        info.si_errno = 0;
        info.si_code  = code;