diff --git a/lib/dns/include/dns/zone.h b/lib/dns/include/dns/zone.h index 70b79471a4..e6cbb76372 100644 --- a/lib/dns/include/dns/zone.h +++ b/lib/dns/include/dns/zone.h @@ -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); /*%< diff --git a/lib/dns/zone.c b/lib/dns/zone.c index a9acedda42..546de131e3 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -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;