mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
clean up some unused functions
dns_fwdtable_delete() was only used by dns_client_clearservers(), which in turn was never used. both functions have now been deleted.
This commit is contained in:
@@ -396,23 +396,6 @@ dns_client_setservers(dns_client_t *client, dns_rdataclass_t rdclass,
|
||||
return (result);
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
dns_client_clearservers(dns_client_t *client, dns_rdataclass_t rdclass,
|
||||
const dns_name_t *name_space) {
|
||||
isc_result_t result;
|
||||
|
||||
REQUIRE(DNS_CLIENT_VALID(client));
|
||||
REQUIRE(rdclass == dns_rdataclass_in);
|
||||
|
||||
if (name_space == NULL) {
|
||||
name_space = dns_rootname;
|
||||
}
|
||||
|
||||
result = dns_fwdtable_delete(client->view->fwdtable, name_space);
|
||||
|
||||
return (result);
|
||||
}
|
||||
|
||||
static isc_result_t
|
||||
getrdataset(isc_mem_t *mctx, dns_rdataset_t **rdatasetp) {
|
||||
dns_rdataset_t *rdataset;
|
||||
|
Reference in New Issue
Block a user