From: Ondřej Surý Date: Tue, 28 Feb 2023 13:25:39 +0000 (+0100) Subject: Remove unused .loop member from dns_view X-Git-Tag: v9.19.11~8^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=004d2a7ad03d383518e4aab3800edd5eb1f06902;p=thirdparty%2Fbind9.git Remove unused .loop member from dns_view After the last round of refactoring, the .loop member of dns_view structure was unused, remove it. --- diff --git a/lib/dns/include/dns/view.h b/lib/dns/include/dns/view.h index b787c01a965..9cbdb935c70 100644 --- a/lib/dns/include/dns/view.h +++ b/lib/dns/include/dns/view.h @@ -104,7 +104,6 @@ struct dns_view { isc_mutex_t lock; bool frozen; - isc_loop_t *loop; bool cacheshared; /* Configurable data. */ diff --git a/lib/dns/view.c b/lib/dns/view.c index 0cf2a4802ed..1dd0edce719 100644 --- a/lib/dns/view.c +++ b/lib/dns/view.c @@ -649,8 +649,6 @@ dns_view_createresolver(dns_view_t *view, isc_loopmgr_t *loopmgr, REQUIRE(view->resolver == NULL); REQUIRE(view->dispatchmgr != NULL); - view->loop = isc_loop_current(loopmgr); - result = dns_resolver_create(view, loopmgr, ndisp, netmgr, options, tlsctx_cache, dispatchv4, dispatchv6, &view->resolver);