Просмотр исходного кода

Staging: crystalhd: Removed cast in crystalhd_lnx.c

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>
Pascal COMBES 11 лет назад
Родитель
Сommit
9744f06bf2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      drivers/staging/crystalhd/crystalhd_lnx.c

+ 1 - 1
drivers/staging/crystalhd/crystalhd_lnx.c

@@ -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);