diff options
Diffstat (limited to 'drivers/scsi/isci/host.c')
-rw-r--r-- | drivers/scsi/isci/host.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/scsi/isci/host.c b/drivers/scsi/isci/host.c index 153f419f1618..dc231c22ea93 100644 --- a/drivers/scsi/isci/host.c +++ b/drivers/scsi/isci/host.c | |||
@@ -290,17 +290,6 @@ static void isci_host_completion_routine(unsigned long data) | |||
290 | list_splice_init(&isci_host->requests_to_complete, | 290 | list_splice_init(&isci_host->requests_to_complete, |
291 | &completed_request_list); | 291 | &completed_request_list); |
292 | 292 | ||
293 | /* While holding the scic_lock take all of the normally completed | ||
294 | * I/Os off of the device's pending lists. | ||
295 | */ | ||
296 | list_for_each_entry(request, &completed_request_list, completed_node) { | ||
297 | |||
298 | /* Remove the request from the remote device's list | ||
299 | * of pending requests. | ||
300 | */ | ||
301 | list_del_init(&request->dev_node); | ||
302 | } | ||
303 | |||
304 | /* Take the list of errored I/Os from the host. */ | 293 | /* Take the list of errored I/Os from the host. */ |
305 | list_splice_init(&isci_host->requests_to_errorback, | 294 | list_splice_init(&isci_host->requests_to_errorback, |
306 | &errored_request_list); | 295 | &errored_request_list); |