projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3982ccd
)
[media] pci: mantis: Remove redundant pci_set_drvdata
author
Sachin Kamat
<
[email protected]
>
Fri, 20 Sep 2013 08:36:16 +0000
(
05:36
-0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Thu, 17 Oct 2013 09:01:32 +0000
(06:01 -0300)
Driver core sets driver data to NULL upon failure or remove.
Signed-off-by: Sachin Kamat <
[email protected]
>
Acked-by: Manu Abraham <
[email protected]
>
Signed-off-by: Hans Verkuil <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/pci/mantis/mantis_pci.c
patch
|
blob
|
history
diff --git
a/drivers/media/pci/mantis/mantis_pci.c
b/drivers/media/pci/mantis/mantis_pci.c
index a846036ea0227dfaabcc64d7e20401b495dcc424..9e89e045213a52e57e8a4b389ad0f9bc2dacfd5c 100644
(file)
--- a/
drivers/media/pci/mantis/mantis_pci.c
+++ b/
drivers/media/pci/mantis/mantis_pci.c
@@
-143,7
+143,6
@@
fail1:
fail0:
dprintk(MANTIS_ERROR, 1, "ERROR: <%d> exiting", ret);
- pci_set_drvdata(pdev, NULL);
return ret;
}
EXPORT_SYMBOL_GPL(mantis_pci_init);
@@
-161,7
+160,6
@@
void mantis_pci_exit(struct mantis_pci *mantis)
}
pci_disable_device(pdev);
- pci_set_drvdata(pdev, NULL);
}
EXPORT_SYMBOL_GPL(mantis_pci_exit);