From b9b8722d4704137d1c85b8e62364b487cbbe8bf0 Mon Sep 17 00:00:00 2001 From: Mark Salter Date: Wed, 18 Jul 2012 23:34:17 -0400 Subject: [PATCH] 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 --- arch/c6x/kernel/signal.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/c6x/kernel/signal.c b/arch/c6x/kernel/signal.c index 3d8f3c22a94..3998b24e26f 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.. */ -- 2.41.0