summaryrefslogtreecommitdiffstats
path: root/zebra/if_netlink.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-04-15 14:04:51 +0200
committerDonald Sharp <sharpd@nvidia.com>2023-07-05 17:49:36 +0200
commitbc0bac5524037442117e16238c1fe72b3f9159f3 (patch)
tree5c29219cb22ec52d78d552dd316a9166e0d04902 /zebra/if_netlink.c
parentzebra: Remove unused dplane_intf_delete (diff)
downloadfrr-bc0bac5524037442117e16238c1fe72b3f9159f3.tar.xz
frr-bc0bac5524037442117e16238c1fe72b3f9159f3.zip
zebra: Remove unused add variable
Function was not using the add variable. Remove it. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/if_netlink.c')
-rw-r--r--zebra/if_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/if_netlink.c b/zebra/if_netlink.c
index 6178b8e16..7636790ff 100644
--- a/zebra/if_netlink.c
+++ b/zebra/if_netlink.c
@@ -674,7 +674,7 @@ static void netlink_interface_update_l2info(struct interface *ifp,
struct zebra_l2info_bridge bridge_info;
netlink_extract_bridge_info(link_data, &bridge_info);
- zebra_l2_bridge_add_update(ifp, &bridge_info, add);
+ zebra_l2_bridge_add_update(ifp, &bridge_info);
} else if (IS_ZEBRA_IF_VLAN(ifp)) {
struct zebra_l2info_vlan vlan_info;