]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: Remove debug associated with vrf_get 7128/head
authorDonald Sharp <sharpd@nvidia.com>
Fri, 18 Sep 2020 11:14:55 +0000 (07:14 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 18 Sep 2020 11:14:55 +0000 (07:14 -0400)
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 5755cc75f9ac07f94b8da0cd371cd54ef313a1d3..6e4c983c6661da81575dafa791884321d1b8d360 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;