diff options
Diffstat (limited to 'drivers/scsi/isci/task.c')
-rw-r--r-- | drivers/scsi/isci/task.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/isci/task.c b/drivers/scsi/isci/task.c index 93c75560a5c7..b54ef2b0fca1 100644 --- a/drivers/scsi/isci/task.c +++ b/drivers/scsi/isci/task.c | |||
@@ -1358,7 +1358,6 @@ isci_task_request_complete(struct isci_host *ihost, | |||
1358 | enum sci_task_status completion_status) | 1358 | enum sci_task_status completion_status) |
1359 | { | 1359 | { |
1360 | struct isci_remote_device *idev = ireq->isci_device; | 1360 | struct isci_remote_device *idev = ireq->isci_device; |
1361 | enum isci_request_status old_state; | ||
1362 | struct isci_tmf *tmf = isci_request_access_tmf(ireq); | 1361 | struct isci_tmf *tmf = isci_request_access_tmf(ireq); |
1363 | struct completion *tmf_complete; | 1362 | struct completion *tmf_complete; |
1364 | struct scic_sds_request *sci_req = &ireq->sci; | 1363 | struct scic_sds_request *sci_req = &ireq->sci; |
@@ -1367,7 +1366,7 @@ isci_task_request_complete(struct isci_host *ihost, | |||
1367 | "%s: request = %p, status=%d\n", | 1366 | "%s: request = %p, status=%d\n", |
1368 | __func__, ireq, completion_status); | 1367 | __func__, ireq, completion_status); |
1369 | 1368 | ||
1370 | old_state = isci_request_change_state(ireq, completed); | 1369 | isci_request_change_state(ireq, completed); |
1371 | 1370 | ||
1372 | tmf->status = completion_status; | 1371 | tmf->status = completion_status; |
1373 | ireq->complete_in_target = true; | 1372 | ireq->complete_in_target = true; |