aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_scsi_host.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/libsas/sas_scsi_host.c')
-rw-r--r--drivers/scsi/libsas/sas_scsi_host.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c
index 731c89250639..b563ff27626b 100644
--- a/drivers/scsi/libsas/sas_scsi_host.c
+++ b/drivers/scsi/libsas/sas_scsi_host.c
@@ -1028,9 +1028,6 @@ void sas_target_destroy(struct scsi_target *starget)
1028 if (!found_dev) 1028 if (!found_dev)
1029 return; 1029 return;
1030 1030
1031 if (dev_is_sata(found_dev))
1032 ata_sas_port_destroy(found_dev->sata_dev.ap);
1033
1034 starget->hostdata = NULL; 1031 starget->hostdata = NULL;
1035 sas_put_device(found_dev); 1032 sas_put_device(found_dev);
1036} 1033}