]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: Remove debug associated with vrf_get
authorDonald Sharp <sharpd@nvidia.com>
Fri, 18 Sep 2020 11:14:55 +0000 (07:14 -0400)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 6 Oct 2020 12:54:24 +0000 (15:54 +0300)
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 <sharpd@nvidia.com>
lib/vrf.c

index bf54af5cdd9b29dd09212ee84f0c5c1c3fbe61ba..cc7445558c6f91eadc1e9de25f61a54051a17387 100644 (file)
--- 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;