提交 9744f06b 编写于 作者: P Pascal COMBES 提交者: Greg Kroah-Hartman

Staging: crystalhd: Removed cast in crystalhd_lnx.c

Removed useless (because automatic) cast from void * in crystalhd_lnx.c
Signed-off-by: NPascal COMBES <pascom@orange.fr>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 776ed179
...@@ -28,7 +28,7 @@ static struct crystalhd_adp *g_adp_info; ...@@ -28,7 +28,7 @@ static struct crystalhd_adp *g_adp_info;
static irqreturn_t chd_dec_isr(int irq, void *arg) static irqreturn_t chd_dec_isr(int irq, void *arg)
{ {
struct crystalhd_adp *adp = (struct crystalhd_adp *) arg; struct crystalhd_adp *adp = arg;
int rc = 0; int rc = 0;
if (adp) if (adp)
rc = crystalhd_cmd_interrupt(&adp->cmds); rc = crystalhd_cmd_interrupt(&adp->cmds);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册