]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Remove unused code
authorIgor Putovny <igor.putovny@nic.cz>
Thu, 16 Nov 2023 15:56:13 +0000 (16:56 +0100)
committerIgor Putovny <igor.putovny@nic.cz>
Thu, 16 Nov 2023 15:59:14 +0000 (16:59 +0100)
proto/aggregator/aggregator.c

index 08fa33708ef09931d0f5409e30e291fa80f1f867..823ab50d6430a37b4ce0e27f0f48e3bd4bed7e9f 100644 (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)