isci: remove scic_sds_port_increment_request_count
authorEdmund Nadolski <edmund.nadolski@intel.com>
Thu, 5 May 2011 01:11:49 +0000 (01:11 +0000)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:46 +0000 (04:04 -0700)
Removes excessive encapsulation function.

Signed-off-by: Edmund Nadolski <edmund.nadolski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/core/scic_sds_port.c
drivers/scsi/isci/core/scic_sds_port.h

index 04a56c5a68d9a6906b3d837aca33b18652564585..e1c873406e50b5ecd4f7799bf6c411f52a640822 100644 (file)
@@ -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_request *io_request)
 {
-       scic_sds_port_increment_request_count(port);
-
+       port->started_request_count++;
        return SCI_SUCCESS;
 }
 
index 115cbe3129a80be52b5f45d0a10cd02111d9a326..213d42330b4b951d604476c2e81d03812ad3c76d 100644 (file)
@@ -359,11 +359,6 @@ struct scic_sds_port_state_handler {
        ((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)
 {
        if (WARN_ONCE(sci_port->started_request_count == 0,