From: Colin Ian King Date: Wed, 16 Jun 2021 13:02:58 +0000 (+0100) Subject: mlxsw: spectrum_router: remove redundant continue statement X-Git-Tag: accepted/tizen/unified/20230118.172025~6942^2~145 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb0a1dacf2bef929bf047c5434bfb976ac6a93e6;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Ido Schimmel Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c index bc47ed7..7e221ef 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c @@ -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;