aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_scsi_host.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/libsas/sas_scsi_host.c')
-rw-r--r--drivers/scsi/libsas/sas_scsi_host.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c
index 67758ea8eb7f..f6e189f40917 100644
--- a/drivers/scsi/libsas/sas_scsi_host.c
+++ b/drivers/scsi/libsas/sas_scsi_host.c
@@ -681,11 +681,10 @@ enum blk_eh_timer_return sas_scsi_timed_out(struct scsi_cmnd *cmd)
681{ 681{
682 struct sas_task *task = TO_SAS_TASK(cmd); 682 struct sas_task *task = TO_SAS_TASK(cmd);
683 unsigned long flags; 683 unsigned long flags;
684 enum blk_eh_timer_return rtn; 684 enum blk_eh_timer_return rtn;
685 685
686 if (sas_ata_timed_out(cmd, task, &rtn)) 686 if (sas_ata_timed_out(cmd, task, &rtn))
687 return rtn; 687 return rtn;
688
689 688
690 if (!task) { 689 if (!task) {
691 cmd->request->timeout /= 2; 690 cmd->request->timeout /= 2;