From 15b67321e7e9671881c7174a651a1c7d74c59f72 Mon Sep 17 00:00:00 2001 From: Will Deacon Date: Tue, 20 Feb 2018 15:25:19 +0000 Subject: [PATCH] arm64: signal: Don't print anything directly in force_signal_inject 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 --- arch/arm64/kernel/traps.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm64/kernel/traps.c b/arch/arm64/kernel/traps.c index 00516f3956e4..835411cab38c 100644 --- a/arch/arm64/kernel/traps.c +++ b/arch/arm64/kernel/traps.c @@ -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; -- 2.30.2