Commit 94eb22d5 authored by Al Viro's avatar Al Viro

ptrace_signal(): get rid of unused arguments

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent b7f9591c
...@@ -2138,8 +2138,7 @@ static void do_jobctl_trap(void) ...@@ -2138,8 +2138,7 @@ static void do_jobctl_trap(void)
} }
} }
static int ptrace_signal(int signr, siginfo_t *info, static int ptrace_signal(int signr, siginfo_t *info)
struct pt_regs *regs, void *cookie)
{ {
ptrace_signal_deliver(); ptrace_signal_deliver();
/* /*
...@@ -2265,8 +2264,7 @@ int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka, ...@@ -2265,8 +2264,7 @@ int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka,
break; /* will return 0 */ break; /* will return 0 */
if (unlikely(current->ptrace) && signr != SIGKILL) { if (unlikely(current->ptrace) && signr != SIGKILL) {
signr = ptrace_signal(signr, info, signr = ptrace_signal(signr, info);
regs, cookie);
if (!signr) if (!signr)
continue; continue;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment