diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-12-21 12:52:29 +0530 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-12-30 20:19:16 +0800 |
commit | b8d9a50412ecab1621603cb42752a52855d8194e (patch) | |
tree | 577c2d48331a61ab5864dc7d79f0bcd6425db16c | |
parent | 2be9d96b27745c781a9457cb353f835ab60d40e8 (diff) |
crypto: ccp - Remove redundant dev_set_drvdata
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>
-rw-r--r-- | drivers/crypto/ccp/ccp-pci.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/ccp/ccp-pci.c b/drivers/crypto/ccp/ccp-pci.c index 1fbeaf1856a..f08c16d370c 100644 --- 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); |