diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-05 19:08:06 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-29 06:01:24 +0100 |
commit | 94eb22d5056b5eca10c587bf064e0e6db0ae6161 (patch) | |
tree | 0ca6902738d41b414f744701b2ca628e5e98d125 /kernel | |
parent | get rid of ptrace_signal_deliver() arguments (diff) | |
download | linux-94eb22d5056b5eca10c587bf064e0e6db0ae6161.tar.xz linux-94eb22d5056b5eca10c587bf064e0e6db0ae6161.zip |
ptrace_signal(): get rid of unused arguments
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/signal.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 17d4e17fd614..421d5b6bcdbc 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -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(); /* @@ -2265,8 +2264,7 @@ relock: 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; } |