HomeFreeBSD

radix_trie: pass fewer params to node_get

Description

radix_trie: pass fewer params to node_get

Let node_get calculate it's own owner value. Don't pass the count
parameter, since it's always 2. Save 16 bytes in insert(). Move,
without modifying, slot and trimkey to handle use-before-declaration
problem.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D40723

Details

Provenance
dougmAuthored on Jun 27 2023, 5:21 PM
Reviewer
markj
Differential Revision
D40723: radix_trie: pass fewer params to node_get
Parents
rG2e1665ff3454: ldns: Remove a set but unused variable.
Branches
Unknown
Tags
Unknown