]> git.proxmox.com Git - mirror_frr.git/commitdiff
zebra: state value never used SA fix
authorStephen Worley <sworley@nvidia.com>
Fri, 9 Dec 2022 22:19:33 +0000 (17:19 -0500)
committerStephen Worley <sworley@nvidia.com>
Mon, 13 Feb 2023 23:12:05 +0000 (18:12 -0500)
SA caught a value that wasn't being used after set. Remove it.

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

index 22dd2b956d0e859542c05540c0348d7972933303..8b283edd50bf04848c9e9ca6c124dce47039bd1f 100644 (file)
@@ -2651,7 +2651,6 @@ int netlink_vlan_change(struct nlmsghdr *h, ns_id_t ns_id, int startup)
        for (attr = BRVLAN_RTA(bvm); RTA_OK(attr, rem);
             attr = RTA_NEXT(attr, rem)) {
                vinfo = NULL;
-               state = 0;
                vrange = 0;
 
                type = attr->rta_type & NLA_TYPE_MASK;