From: Aram Sargsyan Date: Thu, 17 Apr 2025 14:37:28 +0000 (+0000) Subject: Delete the unused dns_zone_getnotifydelete() function X-Git-Tag: v9.21.9~45^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62f66c0be02e2dccf2517908a63ebead1984a29a;p=thirdparty%2Fbind9.git Delete the unused dns_zone_getnotifydelete() function The function is unused, delete it. --- diff --git a/lib/dns/include/dns/zone.h b/lib/dns/include/dns/zone.h index a9d8526a7f0..8a0fd663f4b 100644 --- a/lib/dns/include/dns/zone.h +++ b/lib/dns/include/dns/zone.h @@ -2193,15 +2193,6 @@ dns_zone_setnotifydelay(dns_zone_t *zone, uint32_t delay); * 'zone' to be valid. */ -uint32_t -dns_zone_getnotifydelay(dns_zone_t *zone); -/*%< - * Get the minimum delay between sets of notify messages. - * - * Requires: - * 'zone' to be valid. - */ - void dns_zone_setisself(dns_zone_t *zone, dns_isselffunc_t isself, void *arg); /*%< diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 177608fa59d..6fef5911c80 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -20195,13 +20195,6 @@ dns_zone_setnotifydelay(dns_zone_t *zone, uint32_t delay) { UNLOCK_ZONE(zone); } -uint32_t -dns_zone_getnotifydelay(dns_zone_t *zone) { - REQUIRE(DNS_ZONE_VALID(zone)); - - return zone->notifydelay; -} - isc_result_t dns_zone_signwithkey(dns_zone_t *zone, dns_secalg_t algorithm, uint16_t keyid, bool deleteit) {