]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
remove ISC_LINK(link) property from fetchctx
authorColin Vidal <colin@isc.org>
Fri, 10 Jan 2025 16:31:46 +0000 (17:31 +0100)
committerColin Vidal <colin@isc.org>
Wed, 22 Jan 2025 09:56:09 +0000 (09:56 +0000)
Likely because of historical reasons, struct fetchctx does have a list
link property but is never used as a list. Remove this link property.

lib/dns/resolver.c

index 5a1be00835d5022d5b686e03042841df16db9bcf..b2c26bde611427be78857f6747c7368b60a0572c 100644 (file)
@@ -350,7 +350,6 @@ struct fetchctx {
        bool hashed;
        bool cloned;
        bool spilled;
-       ISC_LINK(struct fetchctx) link;
        ISC_LIST(dns_fetchresponse_t) resps;
        dns_edelist_t edelist;
 
@@ -4782,7 +4781,6 @@ fctx_create(dns_resolver_t *res, isc_loop_t *loop, const dns_name_t *name,
        dns_view_getadb(res->view, &fctx->adb);
 
        ISC_LIST_INIT(fctx->resps);
-       ISC_LINK_INIT(fctx, link);
        fctx->magic = FCTX_MAGIC;
 
        /*