mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
crypto: ccp - Remove redundant dev_set_drvdata
Driver core sets it to NULL upon probe failure or release. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
2be9d96b27
commit
b8d9a50412
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue