From: Stephen Worley Date: Fri, 29 Jan 2021 17:37:17 +0000 (-0500) Subject: pbrd: remove extraneous break X-Git-Tag: base_8.0~408^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=b74a0a33f3734a772b315323ce5265fce4715c58;p=mirror%2Ffrr.git pbrd: remove extraneous break Remove extraneous break. Not needed after goto. Signed-off-by: Stephen Worley --- diff --git a/pbrd/pbr_nht.c b/pbrd/pbr_nht.c index 5b79a3d211..7a814bd724 100644 --- a/pbrd/pbr_nht.c +++ b/pbrd/pbr_nht.c @@ -727,14 +727,12 @@ pbr_nht_individual_nexthop_gw_update(struct pbr_nexthop_cache *pnhc, case NEXTHOP_TYPE_IPV4: case NEXTHOP_TYPE_IPV6: goto done; - break; case NEXTHOP_TYPE_IFINDEX: case NEXTHOP_TYPE_IPV4_IFINDEX: case NEXTHOP_TYPE_IPV6_IFINDEX: if (pnhc->nexthop.ifindex == pnhi->ifp->ifindex) is_valid = if_is_up(pnhi->ifp); goto done; - break; } goto done;