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: upstream/snapshot3+hdmi~12135^2~135 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ecfc95eb7410c04c23f59b02931e8f8b3aa4a5b3;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 c7809f7..be71f91 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);