diff options
author | Joerg Jung <jung@cvs.openbsd.org> | 2020-02-23 19:54:27 +0000 |
---|---|---|
committer | Joerg Jung <jung@cvs.openbsd.org> | 2020-02-23 19:54:27 +0000 |
commit | 6294b1dcc8c7653ebe12251b7bcac4a384c388d9 (patch) | |
tree | 720f1faebdb0ba672dc4178cbd10620844a99355 /usr.bin/dig/lib/dns/rdata/generic/rkey_57.c | |
parent | ec103febcdc2b88677ddccda0b04db6cfba414ba (diff) |
rmeove more unused functions and code
ok florian
Diffstat (limited to 'usr.bin/dig/lib/dns/rdata/generic/rkey_57.c')
-rw-r--r-- | usr.bin/dig/lib/dns/rdata/generic/rkey_57.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/usr.bin/dig/lib/dns/rdata/generic/rkey_57.c b/usr.bin/dig/lib/dns/rdata/generic/rkey_57.c index 9207ed35338..55e4afde350 100644 --- a/usr.bin/dig/lib/dns/rdata/generic/rkey_57.c +++ b/usr.bin/dig/lib/dns/rdata/generic/rkey_57.c @@ -102,30 +102,6 @@ freestruct_rkey(ARGS_FREESTRUCT) { generic_freestruct_key(source); } -static inline isc_result_t -additionaldata_rkey(ARGS_ADDLDATA) { - - REQUIRE(rdata->type == dns_rdatatype_rkey); - - UNUSED(rdata); - UNUSED(add); - UNUSED(arg); - - return (ISC_R_SUCCESS); -} - -static inline isc_result_t -digest_rkey(ARGS_DIGEST) { - isc_region_t r; - - REQUIRE(rdata != NULL); - REQUIRE(rdata->type == dns_rdatatype_rkey); - - dns_rdata_toregion(rdata, &r); - - return ((digest)(arg, &r)); -} - static inline isc_boolean_t checkowner_rkey(ARGS_CHECKOWNER) { @@ -139,19 +115,6 @@ checkowner_rkey(ARGS_CHECKOWNER) { return (ISC_TRUE); } -static inline isc_boolean_t -checknames_rkey(ARGS_CHECKNAMES) { - - REQUIRE(rdata != NULL); - REQUIRE(rdata->type == dns_rdatatype_rkey); - - UNUSED(rdata); - UNUSED(owner); - UNUSED(bad); - - return (ISC_TRUE); -} - static inline int casecompare_rkey(ARGS_COMPARE) { |