ptrace_signal(): get rid of unused arguments
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 5 Nov 2012 18:08:06 +0000 (13:08 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 29 Nov 2012 05:01:24 +0000 (00:01 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/signal.c

index 17d4e17fd614ea1a92d5ef7bc57185d6cfd8d2d5..421d5b6bcdbcb32f5f87d1cc0a7ddb04dc16d070 100644 (file)
@@ -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;
                }