summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_legacy.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-17 15:04:44 +0000
committerBjorn Helgaas <bhelgaas@google.com>2016-11-11 15:51:35 -0600
commit5b23e8fa46ca037e0f61df919e8a08659c0e7640 (patch)
tree721e19406486600a9fb98a5a76481133153a7e4b /drivers/ata/pata_legacy.c
parent1001354ca34179f3db924eb66672442a173147dc (diff)
PCI: vmd: Remove unnecessary pci_set_drvdata()
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'drivers/ata/pata_legacy.c')
0 files changed, 0 insertions, 0 deletions