mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 07:33:19 +02:00
qlcnic: remove redundant continue statement
The continue statement at the end of a for-loop has no effect,
it is redundant and can be removed.
Addresses-Coverity: ("Continue has no effect")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
040c12570e
commit
60ae9f8831
|
|
@ -3341,9 +3341,6 @@ qlcnic_can_start_firmware(struct qlcnic_adapter *adapter)
|
|||
do {
|
||||
msleep(1000);
|
||||
prev_state = QLC_SHARED_REG_RD32(adapter, QLCNIC_CRB_DEV_STATE);
|
||||
|
||||
if (prev_state == QLCNIC_DEV_QUISCENT)
|
||||
continue;
|
||||
} while ((prev_state != QLCNIC_DEV_READY) && --dev_init_timeo);
|
||||
|
||||
if (!dev_init_timeo) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user