diff options
author | Piotr Sawicki <piotr.sawicki@intel.com> | 2011-05-11 23:52:26 +0000 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 04:04:49 -0700 |
commit | d76f71d988ef48384593ad97ebc762d9257d96a8 (patch) | |
tree | 003e8decebcca6f31461acc3fee9d57349d442b9 /drivers/scsi/isci/host.c | |
parent | e91f41ef809a2d1b8cdba52ac380aecd706c93dd (diff) |
isci: remove port start handler
remove the handler from the port state handler table and implement the
logic directly in scic_sds_port_start().
Signed-off-by: Piotr Sawicki <piotr.sawicki@intel.com>
[remove a level of indirection]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/host.c')
-rw-r--r-- | drivers/scsi/isci/host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/isci/host.c b/drivers/scsi/isci/host.c index 2ef1c592a16..7abfb663ca9 100644 --- a/drivers/scsi/isci/host.c +++ b/drivers/scsi/isci/host.c @@ -1108,7 +1108,7 @@ static enum sci_status scic_controller_start(struct scic_sds_controller *scic, for (index = 0; index < scic->logical_port_entries; index++) { struct scic_sds_port *sci_port = &ihost->ports[index].sci; - result = sci_port->state_handlers->start_handler(sci_port); + result = scic_sds_port_start(sci_port); if (result) return result; } |