Commit 13a952c774 for frr

commit 13a952c774c92003517c47ccfda56c94914b3e20
Author: Justin Iurman <justin.iurman@6wind.com>
Date:   Fri Sep 11 15:45:27 2026 +0200

    zebra: remove unused zebra_vxlan_if_vni_add()

    Remove unused function zebra_vxlan_if_vni_add()

    Signed-off-by: Justin Iurman <justin.iurman@6wind.com>

diff --git a/zebra/zebra_vxlan_if.c b/zebra/zebra_vxlan_if.c
index 099faffccb..188aa0284c 100644
--- a/zebra/zebra_vxlan_if.c
+++ b/zebra/zebra_vxlan_if.c
@@ -1163,24 +1163,6 @@ int zebra_vxlan_if_update(struct interface *ifp,
 	return 0;
 }

-int zebra_vxlan_if_vni_add(struct interface *ifp, struct zebra_vxlan_vni *vni)
-{
-	struct zebra_if *zif;
-	struct zebra_vxlan_vni_info *vni_info;
-
-	zif = ifp->info;
-	assert(zif);
-
-	/* This should be called in SVD context only */
-	assert(IS_ZEBRA_VXLAN_IF_SVD(zif));
-
-	/* First insert into the table */
-	vni_info = VNI_INFO_FROM_ZEBRA_IF(zif);
-	hash_get(vni_info->vni_table, (void *)vni, zebra_vxlan_vni_alloc);
-
-	return zebra_vxlan_if_vni_entry_add(zif, vni);
-}
-
 /*
  * Handle VxLAN interface add.
  */
diff --git a/zebra/zebra_vxlan_if.h b/zebra/zebra_vxlan_if.h
index 6900799dc8..b73a61174a 100644
--- a/zebra/zebra_vxlan_if.h
+++ b/zebra/zebra_vxlan_if.h
@@ -72,8 +72,6 @@ extern int zebra_vxlan_if_vni_update(struct interface *ifp,
 				     uint16_t chgflags);
 extern int zebra_vxlan_if_update(struct interface *ifp,
 				 struct zebra_vxlan_if_update_ctx *ctx);
-extern int zebra_vxlan_if_vni_add(struct interface *ifp,
-				  struct zebra_vxlan_vni *vni);
 extern int zebra_vxlan_if_add(struct interface *ifp);

 #ifdef __cplusplus