summaryrefslogtreecommitdiff
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-15 23:13:54 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 13:16:56 +0300
commitecfc95eb7410c04c23f59b02931e8f8b3aa4a5b3 (patch)
tree22009dd6bd484717b92798ec637cc9dfb6d2571f /drivers/media/dvb
parentb1dc614a81258eb7ff482892e7bc894f1089c144 (diff)
downloadlinux-ecfc95eb7410c04c23f59b02931e8f8b3aa4a5b3.tar.xz
[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')
-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);