Commit b9988b8e authored by Edmund Nadolski's avatar Edmund Nadolski Committed by Dan Williams

isci: remove scic_sds_port_increment_request_count

Removes excessive encapsulation function.
Signed-off-by: default avatarEdmund Nadolski <edmund.nadolski@intel.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent ed30c275
...@@ -1232,8 +1232,7 @@ static enum sci_status scic_sds_port_ready_operational_substate_start_io_handler ...@@ -1232,8 +1232,7 @@ static enum sci_status scic_sds_port_ready_operational_substate_start_io_handler
struct scic_sds_remote_device *device, struct scic_sds_remote_device *device,
struct scic_sds_request *io_request) struct scic_sds_request *io_request)
{ {
scic_sds_port_increment_request_count(port); port->started_request_count++;
return SCI_SUCCESS; return SCI_SUCCESS;
} }
......
...@@ -359,11 +359,6 @@ struct scic_sds_port_state_handler { ...@@ -359,11 +359,6 @@ struct scic_sds_port_state_handler {
((this_port)->physical_port_index) ((this_port)->physical_port_index)
static inline void scic_sds_port_increment_request_count(struct scic_sds_port *sci_port)
{
sci_port->started_request_count++;
}
static inline void scic_sds_port_decrement_request_count(struct scic_sds_port *sci_port) static inline void scic_sds_port_decrement_request_count(struct scic_sds_port *sci_port)
{ {
if (WARN_ONCE(sci_port->started_request_count == 0, if (WARN_ONCE(sci_port->started_request_count == 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment