summaryrefslogtreecommitdiff
path: root/staticd/static_vrf.c
diff options
context:
space:
mode:
Diffstat (limited to 'staticd/static_vrf.c')
-rw-r--r--staticd/static_vrf.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/staticd/static_vrf.c b/staticd/static_vrf.c
index 4bea3075c9..6ba0bf4544 100644
--- a/staticd/static_vrf.c
+++ b/staticd/static_vrf.c
@@ -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;