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 <will.deacon@arm.com>
This commit is contained in:
Will Deacon 2018-02-20 15:25:19 +00:00
Родитель a1ece8216c
Коммит 15b67321e7
1 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -363,13 +363,6 @@ void force_signal_inject(int signal, int code, unsigned long address)
signal = SIGKILL; 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_signo = signal;
info.si_errno = 0; info.si_errno = 0;
info.si_code = code; info.si_code = code;