summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/ngene
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-15 17:13:54 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 08:16:56 -0200
commitecfc95eb7410c04c23f59b02931e8f8b3aa4a5b3 (patch)
tree22009dd6bd484717b92798ec637cc9dfb6d2571f /drivers/media/dvb/ngene
parentb1dc614a81258eb7ff482892e7bc894f1089c144 (diff)
downloadblackbird-op-linux-ecfc95eb7410c04c23f59b02931e8f8b3aa4a5b3.tar.gz
blackbird-op-linux-ecfc95eb7410c04c23f59b02931e8f8b3aa4a5b3.zip
[media] ngene-core.c: Remove unnecessary casts of pci_get_drvdata
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ngene')
-rw-r--r--drivers/media/dvb/ngene/ngene-core.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud