Skip to content

Commit

Permalink
C6X: clean up compiler warning
Browse files Browse the repository at this point in the history
commit a610d6e: 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>
  • Loading branch information
Mark Salter committed Jul 19, 2012
1 parent dbe91a2 commit b9b8722
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/c6x/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.. */
Expand Down

0 comments on commit b9b8722

Please sign in to comment.