From 0a822f99bfff45a28f1510d837902c5e5996c7f7 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 18 Sep 2020 07:14:55 -0400 Subject: [PATCH] lib: Remove debug associated with vrf_get The vrf_get function is called throughout the code base so much so that when you turn on vrf debugging it eclipses everything else to a degree that is completely unreasonable. Signed-off-by: Donald Sharp --- lib/vrf.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/vrf.c b/lib/vrf.c index 5755cc75f9..6e4c983c66 100644 --- a/lib/vrf.c +++ b/lib/vrf.c @@ -159,10 +159,6 @@ struct vrf *vrf_get(vrf_id_t vrf_id, const char *name) struct vrf *vrf = NULL; int new = 0; - if (debug_vrf) - zlog_debug("VRF_GET: %s(%u)", name == NULL ? "(NULL)" : name, - vrf_id); - /* Nothing to see, move along here */ if (!name && vrf_id == VRF_UNKNOWN) return NULL; -- 2.39.5