From 909002294f0fdbcd0b959f84e220ecdb5c7e85b8 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Fri, 9 Dec 2022 17:19:33 -0500 Subject: zebra: state value never used SA fix SA caught a value that wasn't being used after set. Remove it. Signed-off-by: Stephen Worley --- zebra/if_netlink.c | 1 - 1 file changed, 1 deletion(-) (limited to 'zebra/if_netlink.c') diff --git a/zebra/if_netlink.c b/zebra/if_netlink.c index 22dd2b956..8b283edd5 100644 --- a/zebra/if_netlink.c +++ b/zebra/if_netlink.c @@ -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; -- cgit v1.2.3