OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.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
c7809f7
..
be71f91
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);