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:
2be9d96
)
crypto: ccp - Remove redundant dev_set_drvdata
author
Sachin Kamat
<sachin.kamat@linaro.org>
Sat, 21 Dec 2013 07:22:29 +0000
(12:52 +0530)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 30 Dec 2013 12:19:16 +0000
(20:19 +0800)
Driver core sets it to NULL upon probe failure or release.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-pci.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/ccp/ccp-pci.c
b/drivers/crypto/ccp/ccp-pci.c
index 1fbeaf1856a87d334b2b1e68e07a7ba3a40008a6..f08c16d370cd2e6f675ea693b05c80646806ecda 100644
(file)
--- a/
drivers/crypto/ccp/ccp-pci.c
+++ b/
drivers/crypto/ccp/ccp-pci.c
@@
-247,7
+247,6
@@
e_bar0:
e_device:
pci_disable_device(pdev);
- dev_set_drvdata(dev, NULL);
e_regions:
pci_release_regions(pdev);
@@
-273,7
+272,6
@@
static void ccp_pci_remove(struct pci_dev *pdev)
pci_iounmap(pdev, ccp->io_map);
pci_disable_device(pdev);
- dev_set_drvdata(dev, NULL);
pci_release_regions(pdev);