0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00

Remove unused code

This commit is contained in:
Igor Putovny 2023-11-16 16:56:13 +01:00
parent 9b34d91233
commit f1d280981e

View File

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