summaryrefslogtreecommitdiff
path: root/ripd/ripd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripd/ripd.c')
-rw-r--r--ripd/ripd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c
index 04a8cad560..7bfcaadc74 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -3597,18 +3597,10 @@ static int rip_vrf_new(struct vrf *vrf)
static int rip_vrf_delete(struct vrf *vrf)
{
- struct rip *rip;
-
if (IS_RIP_DEBUG_EVENT)
zlog_debug("%s: VRF deleted: %s(%u)", __func__, vrf->name,
vrf->vrf_id);
- rip = rip_lookup_by_vrf_name(vrf->name);
- if (!rip)
- return 0;
-
- rip_clean(rip);
-
return 0;
}