From c9529c0acb4651aecbdb4a8cfc75b63a455af579 Mon Sep 17 00:00:00 2001 From: Colin Vidal Date: Fri, 10 Jan 2025 17:31:46 +0100 Subject: [PATCH] remove ISC_LINK(link) property from fetchctx 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 | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 5a1be00835..b2c26bde61 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -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; /*