From 096f7609f9168ad1a2503acad31d3afc8f00f9e5 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Fri, 22 Oct 2021 01:17:40 +0300 Subject: *: cleanup ifp->vrf_id Since f60a1188 we store a pointer to the VRF in the interface structure. There's no need anymore to store a separate vrf_id field. Signed-off-by: Igor Ryzhov --- lib/vrf.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/vrf.c') diff --git a/lib/vrf.c b/lib/vrf.c index a9a5a83794..5dc4e05855 100644 --- a/lib/vrf.c +++ b/lib/vrf.c @@ -354,13 +354,6 @@ const char *vrf_id_to_name(vrf_id_t vrf_id) return VRF_LOGNAME(vrf); } -/* Get the data pointer of the specified VRF. If not found, create one. */ -void *vrf_info_get(vrf_id_t vrf_id) -{ - struct vrf *vrf = vrf_get(vrf_id, NULL); - return vrf->info; -} - /* Look up the data pointer of the specified VRF. */ void *vrf_info_lookup(vrf_id_t vrf_id) { -- cgit v1.2.3