diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/isci/core/scic_sds_port.c | 3 | ||||
-rw-r--r-- | drivers/scsi/isci/core/scic_sds_port.h | 5 |
2 files changed, 1 insertions, 7 deletions
diff --git a/drivers/scsi/isci/core/scic_sds_port.c b/drivers/scsi/isci/core/scic_sds_port.c index 04a56c5a68d9..e1c873406e50 100644 --- a/drivers/scsi/isci/core/scic_sds_port.c +++ b/drivers/scsi/isci/core/scic_sds_port.c | |||
@@ -1232,8 +1232,7 @@ static enum sci_status scic_sds_port_ready_operational_substate_start_io_handler | |||
1232 | struct scic_sds_remote_device *device, | 1232 | struct scic_sds_remote_device *device, |
1233 | struct scic_sds_request *io_request) | 1233 | struct scic_sds_request *io_request) |
1234 | { | 1234 | { |
1235 | scic_sds_port_increment_request_count(port); | 1235 | port->started_request_count++; |
1236 | |||
1237 | return SCI_SUCCESS; | 1236 | return SCI_SUCCESS; |
1238 | } | 1237 | } |
1239 | 1238 | ||
diff --git a/drivers/scsi/isci/core/scic_sds_port.h b/drivers/scsi/isci/core/scic_sds_port.h index 115cbe3129a8..213d42330b4b 100644 --- a/drivers/scsi/isci/core/scic_sds_port.h +++ b/drivers/scsi/isci/core/scic_sds_port.h | |||
@@ -359,11 +359,6 @@ struct scic_sds_port_state_handler { | |||
359 | ((this_port)->physical_port_index) | 359 | ((this_port)->physical_port_index) |
360 | 360 | ||
361 | 361 | ||
362 | static inline void scic_sds_port_increment_request_count(struct scic_sds_port *sci_port) | ||
363 | { | ||
364 | sci_port->started_request_count++; | ||
365 | } | ||
366 | |||
367 | static inline void scic_sds_port_decrement_request_count(struct scic_sds_port *sci_port) | 362 | static inline void scic_sds_port_decrement_request_count(struct scic_sds_port *sci_port) |
368 | { | 363 | { |
369 | if (WARN_ONCE(sci_port->started_request_count == 0, | 364 | if (WARN_ONCE(sci_port->started_request_count == 0, |