]> git.puffer.fish Git - mirror/frr.git/commitdiff
pbrd: remove extraneous break 7973/head
authorStephen Worley <sworley@nvidia.com>
Fri, 29 Jan 2021 17:37:17 +0000 (12:37 -0500)
committerStephen Worley <sworley@nvidia.com>
Mon, 1 Feb 2021 18:32:38 +0000 (13:32 -0500)
Remove extraneous break. Not needed after goto.

Signed-off-by: Stephen Worley <sworley@nvidia.com>
pbrd/pbr_nht.c

index 5b79a3d2117e42b19f9ee93441ed085f93ebade1..7a814bd7245d7355cf8451efd23ac28a169ce885 100644 (file)
@@ -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;