From: Joe Perches Date: Mon, 15 Nov 2010 20:13:54 +0000 (-0300) Subject: [media] ngene-core.c: Remove unnecessary casts of pci_get_drvdata X-Git-Tag: MMI-PSA29.97-13-9~21440^2~135 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ecfc95eb7410c04c23f59b02931e8f8b3aa4a5b3;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [media] ngene-core.c: Remove unnecessary casts of pci_get_drvdata Signed-off-by: Joe Perches Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/ngene/ngene-core.c b/drivers/media/dvb/ngene/ngene-core.c index c7809f7da02e..be71f915e2a3 100644 --- a/drivers/media/dvb/ngene/ngene-core.c +++ b/drivers/media/dvb/ngene/ngene-core.c @@ -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);