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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user