[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 c7809f7da02e70e5764e8f9c6ed8c34713f5efd0..be71f915e2a36b7ee11f9f4407cc2ee2d45f8a5e 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);