2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Remove unused dns_slabheader_reset argument

As a part of the previous refactor, the db argument of
dns_slabheader_reset is now unused, and can be removed.
This commit is contained in:
Alessio Podda
2025-07-15 12:16:39 +02:00
committed by Evan Hunt
parent ae6a34cbda
commit a05db4196f
4 changed files with 8 additions and 10 deletions

View File

@@ -859,7 +859,7 @@ dns_slabheader_copycase(dns_slabheader_t *dest, dns_slabheader_t *src) {
}
void
dns_slabheader_reset(dns_slabheader_t *h, dns_db_t *db, dns_dbnode_t *node) {
dns_slabheader_reset(dns_slabheader_t *h, dns_dbnode_t *node) {
ISC_LINK_INIT(h, link);
h->heap_index = 0;
h->heap = NULL;
@@ -882,7 +882,7 @@ dns_slabheader_new(dns_db_t *db, dns_dbnode_t *node) {
*h = (dns_slabheader_t){
.link = ISC_LINK_INITIALIZER,
};
dns_slabheader_reset(h, db, node);
dns_slabheader_reset(h, node);
return h;
}