diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index dd076da86a46..b98136adaaae 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -2590,7 +2590,7 @@ qla2x00_down_timeout(struct semaphore *sema, unsigned long timeout) | |||
2590 | return 0; | 2590 | return 0; |
2591 | if (msleep_interruptible(step)) | 2591 | if (msleep_interruptible(step)) |
2592 | break; | 2592 | break; |
2593 | } while (--iterations >= 0); | 2593 | } while (--iterations > 0); |
2594 | 2594 | ||
2595 | return -ETIMEDOUT; | 2595 | return -ETIMEDOUT; |
2596 | } | 2596 | } |