summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/task.c
diff options
context:
space:
mode:
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>2012-03-09 07:41:57 +0100
committerDan Williams <dan.j.williams@intel.com>2012-05-17 23:33:39 +0200
commitd6b2a0e4a066ea51322e16e66b25028cb0b4ca7e (patch)
tree77fbde12b41062458824621916498f335c6eef11 /drivers/scsi/isci/task.c
parentisci: Only set IDEV_GONE in the device stop path. (diff)
downloadlinux-d6b2a0e4a066ea51322e16e66b25028cb0b4ca7e.tar.xz
linux-d6b2a0e4a066ea51322e16e66b25028cb0b4ca7e.zip
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 '')
-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 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,
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)