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")
This commit is contained in:
parent
364fb4e512
commit
2e72bf7ec7
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user