]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
C6X: clean up compiler warning
authorMark Salter <msalter@redhat.com>
Thu, 19 Jul 2012 03:34:17 +0000 (23:34 -0400)
committerMark Salter <msalter@redhat.com>
Thu, 19 Jul 2012 03:52:54 +0000 (23:52 -0400)
commit a610d6e6: pull clearing RESTORE_SIGMASK into block_sigmask()
left behind a compiler warning:

  arch/c6x/kernel/signal.c:252:6: warning: unused variable 'ret'

This patch cleans up the warning by removing the unused variable.

Signed-off-by: Mark Salter <msalter@redhat.com>
arch/c6x/kernel/signal.c

index 3d8f3c22a94fa0adf7e66fe2a793a65326759990..3998b24e26f2d7d3bfef802389c90617a2961b49 100644 (file)
@@ -249,8 +249,6 @@ static void handle_signal(int sig,
                         siginfo_t *info, struct k_sigaction *ka,
                         struct pt_regs *regs, int syscall)
 {
-       int ret;
-
        /* Are we from a system call? */
        if (syscall) {
                /* If so, check system call restarting.. */