diff options
author | Stephen Worley <sworley@nvidia.com> | 2022-12-09 23:19:33 +0100 |
---|---|---|
committer | Stephen Worley <sworley@nvidia.com> | 2023-02-14 00:12:05 +0100 |
commit | 909002294f0fdbcd0b959f84e220ecdb5c7e85b8 (patch) | |
tree | 2fc661130d40103762e823fe9aa4d64f46169c67 /zebra/if_netlink.c | |
parent | zebra: log if RTNLGRP_BRVLAN register fails (diff) | |
download | frr-909002294f0fdbcd0b959f84e220ecdb5c7e85b8.tar.xz frr-909002294f0fdbcd0b959f84e220ecdb5c7e85b8.zip |
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 <sworley@nvidia.com>
Diffstat (limited to 'zebra/if_netlink.c')
-rw-r--r-- | zebra/if_netlink.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |