Skip to content

Commit

Permalink
[media] ngene-core.c: Remove unnecessary casts of pci_get_drvdata
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Joe Perches authored and Mauro Carvalho Chehab committed Dec 29, 2010
1 parent b1dc614 commit ecfc95e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/ngene/ngene-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ecfc95e

Please sign in to comment.