From ae8c718df3e279c5738e416d8fd8c7532f532c30 Mon Sep 17 00:00:00 2001 From: Igor Putovny Date: Thu, 16 Nov 2023 16:56:13 +0100 Subject: [PATCH] Remove unused code --- proto/aggregator/aggregator.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/proto/aggregator/aggregator.c b/proto/aggregator/aggregator.c index 08fa3370..823ab50d 100644 --- a/proto/aggregator/aggregator.c +++ b/proto/aggregator/aggregator.c @@ -1136,23 +1136,6 @@ aggregator_rt_notify(struct proto *P, struct channel *src_ch, net *net, rte *new } HASH_WALK_END; - assert(p->root != NULL); - assert(p->trie_slab != NULL); - - log("protocol: %p, root: %p, slab: %p", p, p->root, p->trie_slab); - log("Number of prefixes before aggregation: %d", get_trie_prefix_count(p->root)); - log("==== PREFIXES BEFORE ===="); - print_prefixes(p->root); - - first_pass(p->root, p->trie_slab); - second_pass(p->root); - third_pass(p->root); - - if (is_leaf(p->root)) - log("WARNING: root is leaf!"); - - log("==== PREFIXES AFTER ===="); - print_prefixes(p->root); /* Announce changes */ if (old_bucket)