projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1dc614
)
[media] ngene-core.c: Remove unnecessary casts of pci_get_drvdata
author
Joe Perches
<joe@perches.com>
Mon, 15 Nov 2010 20:13:54 +0000
(17:13 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:56 +0000
(08:16 -0200)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/ngene/ngene-core.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/ngene/ngene-core.c
b/drivers/media/dvb/ngene/ngene-core.c
index c7809f7da02e70e5764e8f9c6ed8c34713f5efd0..be71f915e2a36b7ee11f9f4407cc2ee2d45f8a5e 100644
(file)
--- 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);