Skip to content

Commit

Permalink
ptrace_signal(): get rid of unused arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Nov 29, 2012
1 parent b7f9591 commit 94eb22d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -2138,8 +2138,7 @@ static void do_jobctl_trap(void)
}
}

static int ptrace_signal(int signr, siginfo_t *info,
struct pt_regs *regs, void *cookie)
static int ptrace_signal(int signr, siginfo_t *info)
{
ptrace_signal_deliver();
/*
Expand Down Expand Up @@ -2265,8 +2264,7 @@ int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka,
break; /* will return 0 */

if (unlikely(current->ptrace) && signr != SIGKILL) {
signr = ptrace_signal(signr, info,
regs, cookie);
signr = ptrace_signal(signr, info);
if (!signr)
continue;
}
Expand Down

0 comments on commit 94eb22d

Please sign in to comment.