Staging: crystalhd: Removed cast in crystalhd_lnx.c
authorPascal COMBES <pascom@orange.fr>
Tue, 15 Apr 2014 19:21:18 +0000 (21:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Apr 2014 23:22:15 +0000 (16:22 -0700)
Removed useless (because automatic) cast from void * in crystalhd_lnx.c

Signed-off-by: Pascal COMBES <pascom@orange.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/crystalhd/crystalhd_lnx.c

index fd7f08abbbdf3497c74eaab0c3c03d80779c2646..0e432bcf7c13a71e3db489504a6f659572ef91d7 100644 (file)
@@ -28,7 +28,7 @@ static struct crystalhd_adp *g_adp_info;
 
 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;
        if (adp)
                rc = crystalhd_cmd_interrupt(&adp->cmds);