aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/isci/host.c')
-rw-r--r--drivers/scsi/isci/host.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/isci/host.c b/drivers/scsi/isci/host.c
index 7abfb663ca94..a942384f2798 100644
--- a/drivers/scsi/isci/host.c
+++ b/drivers/scsi/isci/host.c
@@ -1591,10 +1591,8 @@ static enum sci_status scic_sds_controller_stop_ports(struct scic_sds_controller
1591 1591
1592 for (index = 0; index < scic->logical_port_entries; index++) { 1592 for (index = 0; index < scic->logical_port_entries; index++) {
1593 struct scic_sds_port *sci_port = &ihost->ports[index].sci; 1593 struct scic_sds_port *sci_port = &ihost->ports[index].sci;
1594 scic_sds_port_handler_t stop;
1595 1594
1596 stop = sci_port->state_handlers->stop_handler; 1595 port_status = scic_sds_port_stop(sci_port);
1597 port_status = stop(sci_port);
1598 1596
1599 if ((port_status != SCI_SUCCESS) && 1597 if ((port_status != SCI_SUCCESS) &&
1600 (port_status != SCI_FAILURE_INVALID_STATE)) { 1598 (port_status != SCI_FAILURE_INVALID_STATE)) {