[media] ngene-core.c: Remove unnecessary casts of pci_get_drvdata
authorJoe Perches <joe@perches.com>
Mon, 15 Nov 2010 20:13:54 +0000 (17:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:56 +0000 (08:16 -0200)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/ngene/ngene-core.c

index c7809f7..be71f91 100644 (file)
@@ -1515,7 +1515,7 @@ static int init_channels(struct ngene *dev)
 
 void __devexit ngene_remove(struct pci_dev *pdev)
 {
-       struct ngene *dev = (struct ngene *)pci_get_drvdata(pdev);
+       struct ngene *dev = pci_get_drvdata(pdev);
        int i;
 
        tasklet_kill(&dev->event_tasklet);