0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-16 18:35:19 +00:00

Remove debugging logs

This commit is contained in:
Igor Putovny 2024-04-11 16:15:16 +02:00
parent 24a450a817
commit 07d3f682ad
2 changed files with 0 additions and 16 deletions

View File

@ -73,19 +73,11 @@
u32 _h = HASH_FN(v, id, id##_KEY((node))); \
HASH_TYPE(v) *_n, **_nn = (v).data + _h; \
\
log(L_WARN "hash: %u", _h); \
\
while ((*_nn) && (*_nn != (node))) \
{ \
log(L_WARN "_nn: %p", *_nn); \
_nn = &(id##_NEXT((*_nn))); \
} \
\
if (_n = *_nn) \
{ \
log(L_WARN "Success %p", _n); \
HASH_DO_REMOVE(v,id,_nn); \
} \
_n; \
})

View File

@ -224,9 +224,7 @@ first_pass_new(struct trie_node *node, slab *trie_slab)
}
if (node->bucket == NULL)
{
node->bucket = node->parent->bucket;
}
for (int i = 0; i < 2; i++)
{
@ -241,16 +239,10 @@ first_pass_new(struct trie_node *node, slab *trie_slab)
}
if (node->child[0])
{
first_pass_new(node->child[0], trie_slab);
log("Entering first pass with node %p", node->child[0]);
}
if (node->child[1])
{
first_pass_new(node->child[1], trie_slab);
log("Entering first pass with node %p", node->child[1]);
}
node->bucket = NULL;
}