diff options
Diffstat (limited to 'drivers/scsi/vmw_pvscsi.c')
-rw-r--r-- | drivers/scsi/vmw_pvscsi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/vmw_pvscsi.c b/drivers/scsi/vmw_pvscsi.c index 3bfaa66fa0d1..b9755ec0e812 100644 --- a/drivers/scsi/vmw_pvscsi.c +++ b/drivers/scsi/vmw_pvscsi.c | |||
@@ -1405,7 +1405,6 @@ out_release_resources: | |||
1405 | out_free_host: | 1405 | out_free_host: |
1406 | scsi_host_put(host); | 1406 | scsi_host_put(host); |
1407 | out_disable_device: | 1407 | out_disable_device: |
1408 | pci_set_drvdata(pdev, NULL); | ||
1409 | pci_disable_device(pdev); | 1408 | pci_disable_device(pdev); |
1410 | 1409 | ||
1411 | return error; | 1410 | return error; |
@@ -1445,7 +1444,6 @@ static void pvscsi_remove(struct pci_dev *pdev) | |||
1445 | 1444 | ||
1446 | scsi_host_put(host); | 1445 | scsi_host_put(host); |
1447 | 1446 | ||
1448 | pci_set_drvdata(pdev, NULL); | ||
1449 | pci_disable_device(pdev); | 1447 | pci_disable_device(pdev); |
1450 | } | 1448 | } |
1451 | 1449 | ||