Remove scsi_device_online from scsi_decide_disposition as the check is now performed in scsi_attempt_requeue_command if a retry is attempted. Signed-off-by: Mike Christie <michaelc@xxxxxxxxxxx> Signed-off-by: Mike Anderson <andmike@xxxxxxxxxxxxxxxxxx> --- drivers/scsi/scsi_error.c | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index c9b5598..446352d 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c @@ -1298,17 +1298,6 @@ int scsi_decide_disposition(struct scsi_cmnd *scmd) { /* - * if the device is offline, then we clearly just pass the result back - * up to the top level. - */ - if (!scsi_device_online(scmd->device)) { - SCSI_LOG_ERROR_RECOVERY(5, printk("%s: device offline - report" - " as SUCCESS\n", - __func__)); - return SCSI_MLQUEUE_DIS_FINISH; - } - - /* * first check the host byte, to see if there is anything in there * that would indicate what we need to do. */ -- 1.5.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html