1
0
Fork 0

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>
hifive-unleashed-5.1
Mark Salter 2012-07-18 23:34:17 -04:00
parent dbe91a2e6e
commit b9b8722d47
1 changed files with 0 additions and 2 deletions

View 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.. */