Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebieder...
[linux-2.6-block.git] / arch / csky / kernel / signal.c
index d47a3381aad86f591ed21c2f2792b67504a912d4..9b1b7c039ddf9c33ecf569c55b055b34de384ee3 100644 (file)
@@ -66,7 +66,6 @@ SYSCALL_DEFINE0(rt_sigreturn)
 {
        struct pt_regs *regs = current_pt_regs();
        struct rt_sigframe __user *frame;
-       struct task_struct *task;
        sigset_t set;
 
        /* Always make any pending restarted system calls return -EINTR */
@@ -91,8 +90,7 @@ SYSCALL_DEFINE0(rt_sigreturn)
        return regs->a0;
 
 badframe:
-       task = current;
-       force_sig(SIGSEGV, task);
+       force_sig(SIGSEGV);
        return 0;
 }