summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/task.c
diff options
context:
space:
mode:
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>2012-03-08 22:41:57 -0800
committerDan Williams <dan.j.williams@intel.com>2012-05-17 14:33:39 -0700
commitd6b2a0e4a066ea51322e16e66b25028cb0b4ca7e (patch)
tree77fbde12b41062458824621916498f335c6eef11 /drivers/scsi/isci/task.c
parent033751f6643adf616b85ac5eea7ce784bdde1b50 (diff)
downloadop-kernel-dev-d6b2a0e4a066ea51322e16e66b25028cb0b4ca7e.zip
op-kernel-dev-d6b2a0e4a066ea51322e16e66b25028cb0b4ca7e.tar.gz
isci: Remove isci_device reqs_in_process and dev_node from isci_device.
Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/task.c')
-rw-r--r--drivers/scsi/isci/task.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/isci/task.c b/drivers/scsi/isci/task.c
index 9d8720d..222fb0d 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,
spin_unlock_irqrestore(&ihost->scic_lock, flags);
goto err_tci;
}
- /* add the request to the remote device request list. */
- list_add(&ireq->dev_node, &idev->reqs_in_process);
-
/* The RNC must be unsuspended before the TMF can get a response. */
sci_remote_device_resume(idev, NULL, NULL);
@@ -721,7 +718,6 @@ isci_task_request_complete(struct isci_host *ihost,
set_bit(IREQ_TERMINATED, &ireq->flags);
isci_free_tag(ihost, ireq->io_tag);
- list_del_init(&ireq->dev_node);
/* The task management part completes last. */
if (tmf_complete)
OpenPOWER on IntegriCloud