diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-06-17 08:37:43 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-18 23:01:03 -0400 |
commit | 2e72bf7ec71d62f758f64cdfb17bbb98d649dd2d (patch) | |
tree | a15f0522f1f0161fd65372e1c72f4f42b1959ea4 /drivers/scsi/qla4xxx | |
parent | 364fb4e512774038c720ab160535b0b30969bed8 (diff) | |
download | linux-2e72bf7ec71d62f758f64cdfb17bbb98d649dd2d.tar.gz linux-2e72bf7ec71d62f758f64cdfb17bbb98d649dd2d.tar.bz2 linux-2e72bf7ec71d62f758f64cdfb17bbb98d649dd2d.zip |
scsi: qla4xxx: Remove redundant continue statement
The continue statement at the end of a for-loop has no effect, remove it.
Link: https://lore.kernel.org/r/20210617073743.151008-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Addresses-Coverity: ("Continue has no effect")
Diffstat (limited to 'drivers/scsi/qla4xxx')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_os.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 0e7a7e82e028..6ee7ea4c27e0 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c @@ -815,8 +815,6 @@ static int qla4xxx_get_chap_list(struct Scsi_Host *shost, uint16_t chap_tbl_idx, valid_chap_entries++; if (valid_chap_entries == *num_entries) break; - else - continue; } mutex_unlock(&ha->chap_sem); |