mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
remove dns_zone_expire dead code
Removing `dns_zone_expire` function which is never called (the zone expiration is detected internally in `lib/dns/zone.c`).
This commit is contained in:
parent
32322ffdd8
commit
2a640adbc1
2 changed files with 0 additions and 20 deletions
|
|
@ -593,17 +593,6 @@ dns_zone_markdirty(dns_zone_t *zone);
|
|||
*\li 'zone' to be a valid zone.
|
||||
*/
|
||||
|
||||
void
|
||||
dns_zone_expire(dns_zone_t *zone);
|
||||
/*%<
|
||||
* Mark the zone as expired. If the zone requires dumping cause it to
|
||||
* be initiated. Set the refresh and retry intervals to there default
|
||||
* values and unload the zone.
|
||||
*
|
||||
* Require
|
||||
*\li 'zone' to be a valid zone.
|
||||
*/
|
||||
|
||||
void
|
||||
dns_zone_refresh(dns_zone_t *zone);
|
||||
/*%<
|
||||
|
|
|
|||
|
|
@ -11762,15 +11762,6 @@ again:
|
|||
UNLOCK_ZONE(zone);
|
||||
}
|
||||
|
||||
void
|
||||
dns_zone_expire(dns_zone_t *zone) {
|
||||
REQUIRE(DNS_ZONE_VALID(zone));
|
||||
|
||||
LOCK_ZONE(zone);
|
||||
zone_expire(zone);
|
||||
UNLOCK_ZONE(zone);
|
||||
}
|
||||
|
||||
static void
|
||||
zone_expire(dns_zone_t *zone) {
|
||||
dns_db_t *db = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue