From: Donald Sharp Date: Fri, 18 Sep 2020 11:14:55 +0000 (-0400) Subject: lib: Remove debug associated with vrf_get X-Git-Tag: frr-7.5~11^2~55 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=91c354f7cca923796a111f05cb2ce296189a381a;p=matthieu%2Ffrr.git 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 --- diff --git a/lib/vrf.c b/lib/vrf.c index bf54af5cdd..cc7445558c 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;