From 53c9817b29f7a03046cf0d2dcbf3d2b8e5713295 Mon Sep 17 00:00:00 2001 From: Aram Sargsyan Date: Thu, 17 Apr 2025 14:37:28 +0000 Subject: [PATCH] Delete the unused dns_zone_getnotifydelete() function The function is unused, delete it. (cherry picked from commit 62f66c0be02e2dccf2517908a63ebead1984a29a) --- lib/dns/include/dns/zone.h | 9 --------- lib/dns/zone.c | 7 ------- 2 files changed, 16 deletions(-) diff --git a/lib/dns/include/dns/zone.h b/lib/dns/include/dns/zone.h index 6b134e7369..4b05613b07 100644 --- a/lib/dns/include/dns/zone.h +++ b/lib/dns/include/dns/zone.h @@ -2242,15 +2242,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 b52fe8204c..fce460d88e 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -20179,13 +20179,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) {