提交 d78aa729 编写于 作者: M Mauro Carvalho Chehab

[media] lirc_zilog: Fix a warning

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: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 fce50ac8
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册