summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/remote_device.c
diff options
context:
space:
mode:
authorPiotr Sawicki <piotr.sawicki@intel.com>2011-05-10 23:50:32 +0000
committerDan Williams <dan.j.williams@intel.com>2011-07-03 04:04:48 -0700
commitf4636a7b2ab8288466b83a8459d47c43143a70dc (patch)
tree4b8c8c425b7348c9b2a3ae1cf9a4c353adb3cc06 /drivers/scsi/isci/remote_device.c
parentf00e6ba4996a34f098fe50c78077f0568fd838ec (diff)
isci: unify request start handlers
Unify the implementation in scic_sds_request_start and kill the state handler. Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Piotr Sawicki <piotr.sawicki@intel.com> [remove scic_sds_request_constructed_state_start_handler] Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/remote_device.c')
-rw-r--r--drivers/scsi/isci/remote_device.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/isci/remote_device.c b/drivers/scsi/isci/remote_device.c
index 0bb639dfbada..606ee2be154e 100644
--- a/drivers/scsi/isci/remote_device.c
+++ b/drivers/scsi/isci/remote_device.c
@@ -515,7 +515,7 @@ enum sci_status scic_sds_remote_device_start_io(struct scic_sds_controller *scic
if (status != SCI_SUCCESS)
break;
- status = sci_req->state_handlers->start_handler(sci_req);
+ status = scic_sds_request_start(sci_req);
if (status != SCI_SUCCESS)
break;
@@ -540,7 +540,7 @@ enum sci_status scic_sds_remote_device_start_io(struct scic_sds_controller *scic
if (status != SCI_SUCCESS)
break;
- status = sci_req->state_handlers->start_handler(sci_req);
+ status = scic_sds_request_start(sci_req);
} else
return SCI_FAILURE_INVALID_STATE;
break;
@@ -709,7 +709,7 @@ enum sci_status scic_sds_remote_device_start_task(struct scic_sds_controller *sc
if (status != SCI_SUCCESS)
goto out;
- status = sci_req->state_handlers->start_handler(sci_req);
+ status = scic_sds_request_start(sci_req);
if (status != SCI_SUCCESS)
goto out;