]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Remove some extraneous zebra_nhg logging
authorStephen Worley <sworley@cumulusnetworks.com>
Wed, 17 Jul 2019 17:56:59 +0000 (13:56 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:41 +0000 (11:13 -0400)
Remove some extraneos zebra_nhg logging that was being
used during development.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/zebra_nhg.c

index e17ddffec3de0a4b04299a36d48149856651b3a8..3c21319f992b6a20a145a5a3aeb091151f57a110 100644 (file)
@@ -809,16 +809,13 @@ void zebra_nhg_free(void *arg)
 
 static void zebra_nhg_release(struct nhg_hash_entry *nhe)
 {
-       zlog_debug("Releasing nexthop group with ID (%u)", nhe->id);
-
        /* Remove it from any lists it may be on */
        zebra_nhg_depends_release(nhe);
        zebra_nhg_dependents_release(nhe);
        if (nhe->ifp)
                if_nhg_dependents_del(nhe->ifp, nhe);
 
-       if(!hash_release(zrouter.nhgs, nhe))
-               zlog_debug("Failed release");
+       hash_release(zrouter.nhgs, nhe);
        hash_release(zrouter.nhgs_id, nhe);
 
        zebra_nhg_free(nhe);
@@ -1534,7 +1531,6 @@ void zebra_nhg_install_kernel(struct nhg_hash_entry *nhe)
 
 void zebra_nhg_uninstall_kernel(struct nhg_hash_entry *nhe)
 {
-       zlog_debug("Uninstalling NHE ID: %u", nhe->id);
        if (CHECK_FLAG(nhe->flags, NEXTHOP_GROUP_INSTALLED)) {
                int ret = dplane_nexthop_delete(nhe);