summaryrefslogtreecommitdiff
path: root/arch/c6x/kernel
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2012-07-18 23:34:17 -0400
committerMark Salter <msalter@redhat.com>2012-07-18 23:52:54 -0400
commitb9b8722d4704137d1c85b8e62364b487cbbe8bf0 (patch)
tree6bc837ad52a319bba77ec7684604133174d26672 /arch/c6x/kernel
parentdbe91a2e6e53aa85efa0aac86e3a22ba95f8b85f (diff)
C6X: clean up compiler warning
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>
Diffstat (limited to 'arch/c6x/kernel')
-rw-r--r--arch/c6x/kernel/signal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/c6x/kernel/signal.c b/arch/c6x/kernel/signal.c
index 3d8f3c22a94f..3998b24e26f2 100644
--- a/arch/c6x/kernel/signal.c
+++ b/arch/c6x/kernel/signal.c
@@ -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.. */