mlxsw: spectrum_router: remove redundant continue statement
The continue statement at the end of a for-loop has no effect, remove it. Addresses-Coverity: ("Continue has no effect") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1d24b6b4b0
commit
fb0a1dacf2
|
@ -5407,7 +5407,6 @@ mlxsw_sp_rt6_nexthop(struct mlxsw_sp_nexthop_group *nh_grp,
|
|||
ipv6_addr_equal((const struct in6_addr *) &nh->gw_addr,
|
||||
&rt->fib6_nh->fib_nh_gw6))
|
||||
return nh;
|
||||
continue;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue