aboutsummaryrefslogtreecommitdiffstats
path: root/arch/c6x/kernel/signal.c
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/signal.c
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/signal.c')
-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,
249 siginfo_t *info, struct k_sigaction *ka, 249 siginfo_t *info, struct k_sigaction *ka,
250 struct pt_regs *regs, int syscall) 250 struct pt_regs *regs, int syscall)
251{ 251{
252 int ret;
253
254 /* Are we from a system call? */ 252 /* Are we from a system call? */
255 if (syscall) { 253 if (syscall) {
256 /* If so, check system call restarting.. */ 254 /* If so, check system call restarting.. */