]> git.proxmox.com Git - mirror_frr.git/blobdiff - staticd/static_vrf.c
*: cleanup ifp->vrf_id
[mirror_frr.git] / staticd / static_vrf.c
index 4bea3075c9f6aa72b2c4bd7ab172bd9a447d9b1e..6ba0bf4544d3040ee71cfa39a0d3165d34f7e829 100644 (file)
@@ -123,17 +123,6 @@ struct route_table *static_vrf_static_table(afi_t afi, safi_t safi,
        return svrf->stable[afi][safi];
 }
 
-struct static_vrf *static_vrf_lookup_by_id(vrf_id_t vrf_id)
-{
-       struct vrf *vrf;
-
-       vrf = vrf_lookup_by_id(vrf_id);
-       if (vrf)
-               return ((struct static_vrf *)vrf->info);
-
-       return NULL;
-}
-
 struct static_vrf *static_vrf_lookup_by_name(const char *name)
 {
        struct vrf *vrf;