Remove unused rbtnode->rpz flag
The rbtnode->rpz flag was left behind when rbt and rpz were disentangled by CHANGES #4576. Removing it makes the comment above correct again. Although this reduces the flags to 32 bits, there is still padding (on 64 bit systems) so it doesn't change the size of an rbtnode.
This commit is contained in:
@@ -97,12 +97,9 @@ struct dns_rbtnode {
|
||||
unsigned int namelen : 8; /*%< range is 1..255 */
|
||||
unsigned int offsetlen : 8; /*%< range is 1..128 */
|
||||
unsigned int oldnamelen : 8; /*%< range is 1..255 */
|
||||
unsigned int : 0; /* end of bitfields c/o tree lock */
|
||||
/*@}*/
|
||||
|
||||
/* node needs to be cleaned from rpz */
|
||||
unsigned int rpz : 1;
|
||||
unsigned int : 0; /* end of bitfields c/o tree lock */
|
||||
|
||||
/*%
|
||||
* These are needed for hashing. The 'uppernode' points to the
|
||||
* node's superdomain node in the parent subtree, so that it can
|
||||
|
||||
@@ -1513,7 +1513,6 @@ create_node(isc_mem_t *mctx, const dns_name_t *name, dns_rbtnode_t **nodep) {
|
||||
node->left = NULL;
|
||||
node->down = NULL;
|
||||
node->data = NULL;
|
||||
node->rpz = 0;
|
||||
|
||||
node->hashnext = NULL;
|
||||
node->hashval = 0;
|
||||
|
||||
Reference in New Issue
Block a user