net: stmmac: remove redundant continue statement
The continue statement in the for-loop has no effect, remove it. 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
bd70957438
commit
c44924c532
@ -573,10 +573,8 @@ static int tc_add_flow(struct stmmac_priv *priv,
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(tc_flow_parsers); i++) {
|
||||
ret = tc_flow_parsers[i].fn(priv, cls, entry);
|
||||
if (!ret) {
|
||||
if (!ret)
|
||||
entry->in_use = true;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (!entry->in_use)
|
||||
|
Loading…
Reference in New Issue
Block a user