summaryrefslogtreecommitdiff
path: root/ripngd/ripngd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripngd/ripngd.c')
-rw-r--r--ripngd/ripngd.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c
index fa9b744e0f..465b40bd3f 100644
--- a/ripngd/ripngd.c
+++ b/ripngd/ripngd.c
@@ -2621,17 +2621,10 @@ static int ripng_vrf_new(struct vrf *vrf)
static int ripng_vrf_delete(struct vrf *vrf)
{
- struct ripng *ripng;
-
if (IS_RIPNG_DEBUG_EVENT)
zlog_debug("%s: VRF deleted: %s(%u)", __func__, vrf->name,
vrf->vrf_id);
- ripng = ripng_lookup_by_vrf_name(vrf->name);
- if (!ripng)
- return 0;
-
- ripng_clean(ripng);
return 0;
}