[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>
This commit is contained in:
parent
b1dc614a81
commit
ecfc95eb74
|
@ -1515,7 +1515,7 @@ static int init_channels(struct ngene *dev)
|
||||||
|
|
||||||
void __devexit ngene_remove(struct pci_dev *pdev)
|
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;
|
int i;
|
||||||
|
|
||||||
tasklet_kill(&dev->event_tasklet);
|
tasklet_kill(&dev->event_tasklet);
|
||||||
|
|
Loading…
Reference in New Issue