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 <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2020-09-18 07:14:55 -04:00
parent c7384cf86a
commit 0a822f99bf

View File

@ -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;