diff options
Diffstat (limited to 'drivers/scsi/isci/task.c')
-rw-r--r-- | drivers/scsi/isci/task.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/isci/task.c b/drivers/scsi/isci/task.c index 9d8720d6266c..222fb0de4d59 100644 --- a/drivers/scsi/isci/task.c +++ b/drivers/scsi/isci/task.c | |||
@@ -317,9 +317,6 @@ static int isci_task_execute_tmf(struct isci_host *ihost, | |||
317 | spin_unlock_irqrestore(&ihost->scic_lock, flags); | 317 | spin_unlock_irqrestore(&ihost->scic_lock, flags); |
318 | goto err_tci; | 318 | goto err_tci; |
319 | } | 319 | } |
320 | /* add the request to the remote device request list. */ | ||
321 | list_add(&ireq->dev_node, &idev->reqs_in_process); | ||
322 | |||
323 | /* The RNC must be unsuspended before the TMF can get a response. */ | 320 | /* The RNC must be unsuspended before the TMF can get a response. */ |
324 | sci_remote_device_resume(idev, NULL, NULL); | 321 | sci_remote_device_resume(idev, NULL, NULL); |
325 | 322 | ||
@@ -721,7 +718,6 @@ isci_task_request_complete(struct isci_host *ihost, | |||
721 | set_bit(IREQ_TERMINATED, &ireq->flags); | 718 | set_bit(IREQ_TERMINATED, &ireq->flags); |
722 | 719 | ||
723 | isci_free_tag(ihost, ireq->io_tag); | 720 | isci_free_tag(ihost, ireq->io_tag); |
724 | list_del_init(&ireq->dev_node); | ||
725 | 721 | ||
726 | /* The task management part completes last. */ | 722 | /* The task management part completes last. */ |
727 | if (tmf_complete) | 723 | if (tmf_complete) |