Skip to content

Commit

Permalink
[media] lirc_zilog: Fix a warning
Browse files Browse the repository at this point in the history
drivers/staging/lirc/lirc_zilog.c: In function ‘send_code’:
drivers/staging/lirc/lirc_zilog.c:886:1: warning: label ‘done’ defined but not used

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Dec 29, 2010
1 parent fce50ac commit d78aa72
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/staging/lirc/lirc_zilog.c
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,6 @@ static int send_code(struct IR *ir, unsigned int code, unsigned int key)
return -EFAULT;
}

done:
/* Oh good, it worked */
dprintk("sent code %u, key %u\n", code, key);
return 0;
Expand Down

0 comments on commit d78aa72

Please sign in to comment.