Commit c44924c5 authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller
Browse files

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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bd709574
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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)