diff --git a/ripd/ripd.c b/ripd/ripd.c index 8e02f1a6c1..8a321d9a91 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -3551,18 +3551,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; }