]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove unused link field from rdatacommon
authorAlessio Podda <alessio@isc.org>
Fri, 11 Jul 2025 07:15:23 +0000 (09:15 +0200)
committerAlessio Podda <alessio@isc.org>
Thu, 17 Jul 2025 10:57:51 +0000 (12:57 +0200)
The field link in rdatacommon is unused. This change should save 16
bytes for each rdata we create.

94 files changed:
bin/delv/delv.c
bin/dnssec/dnssec-signzone.c
bin/named/server.c
lib/dns/dnssec.c
lib/dns/rdata/any_255/tsig_250.c
lib/dns/rdata/ch_3/a_1.c
lib/dns/rdata/generic/afsdb_18.c
lib/dns/rdata/generic/amtrelay_260.c
lib/dns/rdata/generic/avc_258.c
lib/dns/rdata/generic/caa_257.c
lib/dns/rdata/generic/cdnskey_60.c
lib/dns/rdata/generic/cds_59.c
lib/dns/rdata/generic/cert_37.c
lib/dns/rdata/generic/cname_5.c
lib/dns/rdata/generic/csync_62.c
lib/dns/rdata/generic/dlv_32769.c
lib/dns/rdata/generic/dname_39.c
lib/dns/rdata/generic/dnskey_48.c
lib/dns/rdata/generic/doa_259.c
lib/dns/rdata/generic/ds_43.c
lib/dns/rdata/generic/eui48_108.c
lib/dns/rdata/generic/eui64_109.c
lib/dns/rdata/generic/gpos_27.c
lib/dns/rdata/generic/hinfo_13.c
lib/dns/rdata/generic/hip_55.c
lib/dns/rdata/generic/ipseckey_45.c
lib/dns/rdata/generic/isdn_20.c
lib/dns/rdata/generic/key_25.c
lib/dns/rdata/generic/keydata_65533.c
lib/dns/rdata/generic/l32_105.c
lib/dns/rdata/generic/l64_106.c
lib/dns/rdata/generic/loc_29.c
lib/dns/rdata/generic/lp_107.c
lib/dns/rdata/generic/mb_7.c
lib/dns/rdata/generic/md_3.c
lib/dns/rdata/generic/mf_4.c
lib/dns/rdata/generic/mg_8.c
lib/dns/rdata/generic/minfo_14.c
lib/dns/rdata/generic/mr_9.c
lib/dns/rdata/generic/mx_15.c
lib/dns/rdata/generic/naptr_35.c
lib/dns/rdata/generic/nid_104.c
lib/dns/rdata/generic/ninfo_56.c
lib/dns/rdata/generic/ns_2.c
lib/dns/rdata/generic/nsec3_50.c
lib/dns/rdata/generic/nsec3param_51.c
lib/dns/rdata/generic/nsec_47.c
lib/dns/rdata/generic/null_10.c
lib/dns/rdata/generic/nxt_30.c
lib/dns/rdata/generic/openpgpkey_61.c
lib/dns/rdata/generic/opt_41.c
lib/dns/rdata/generic/ptr_12.c
lib/dns/rdata/generic/resinfo_261.c
lib/dns/rdata/generic/rkey_57.c
lib/dns/rdata/generic/rp_17.c
lib/dns/rdata/generic/rrsig_46.c
lib/dns/rdata/generic/rt_21.c
lib/dns/rdata/generic/sig_24.c
lib/dns/rdata/generic/sink_40.c
lib/dns/rdata/generic/smimea_53.c
lib/dns/rdata/generic/soa_6.c
lib/dns/rdata/generic/spf_99.c
lib/dns/rdata/generic/sshfp_44.c
lib/dns/rdata/generic/ta_32768.c
lib/dns/rdata/generic/talink_58.c
lib/dns/rdata/generic/tkey_249.c
lib/dns/rdata/generic/tlsa_52.c
lib/dns/rdata/generic/txt_16.c
lib/dns/rdata/generic/uri_256.c
lib/dns/rdata/generic/wallet_262.c
lib/dns/rdata/generic/x25_19.c
lib/dns/rdata/generic/zonemd_63.c
lib/dns/rdata/hs_4/a_1.c
lib/dns/rdata/in_1/a6_38.c
lib/dns/rdata/in_1/a_1.c
lib/dns/rdata/in_1/aaaa_28.c
lib/dns/rdata/in_1/apl_42.c
lib/dns/rdata/in_1/atma_34.c
lib/dns/rdata/in_1/dhcid_49.c
lib/dns/rdata/in_1/eid_31.c
lib/dns/rdata/in_1/kx_36.c
lib/dns/rdata/in_1/nimloc_32.c
lib/dns/rdata/in_1/nsap-ptr_23.c
lib/dns/rdata/in_1/nsap_22.c
lib/dns/rdata/in_1/px_26.c
lib/dns/rdata/in_1/srv_33.c
lib/dns/rdata/in_1/svcb_64.c
lib/dns/rdata/in_1/wks_11.c
lib/dns/rdata/rdatastructpre.h
lib/dns/tkey.c
lib/dns/tsig.c
lib/dns/zone.c
tests/dns/keytable_test.c
tests/dns/tsig_test.c

index 0cb8142f5ade88ba5c9a57bed9860d2854ccbffa..e7e5afbae596a95e65c8d5d3d59b2ff554d06a00 100644 (file)
@@ -697,8 +697,6 @@ key_fromconfig(const cfg_obj_t *key, dns_client_t *client, dns_view_t *toview) {
                dnskey.common.rdtype = dns_rdatatype_dnskey;
                dnskey.mctx = NULL;
 
-               ISC_LINK_INIT(&dnskey.common, link);
-
                dnskey.flags = (uint16_t)rdata1;
                dnskey.protocol = (uint8_t)rdata2;
                dnskey.algorithm = (uint8_t)rdata3;
@@ -728,8 +726,6 @@ key_fromconfig(const cfg_obj_t *key, dns_client_t *client, dns_view_t *toview) {
                ds.common.rdtype = dns_rdatatype_ds;
                ds.mctx = NULL;
 
-               ISC_LINK_INIT(&ds.common, link);
-
                ds.key_tag = (uint16_t)rdata1;
                ds.algorithm = (uint8_t)rdata2;
                ds.digest_type = (uint8_t)rdata3;
index 4ceb483bde13d16ccfdf16f245912e1066b4080c..bb33856936a0b0ea26b1a1faf9b33f613f38471d 100644 (file)
@@ -1903,7 +1903,6 @@ addnsec3param(const unsigned char *salt, size_t salt_len,
 
        nsec3param.common.rdclass = gclass;
        nsec3param.common.rdtype = dns_rdatatype_nsec3param;
-       ISC_LINK_INIT(&nsec3param.common, link);
        nsec3param.mctx = NULL;
        nsec3param.flags = 0;
        nsec3param.hash = unknownalg ? DNS_NSEC3_UNKNOWNALG : dns_hash_sha1;
index 62a904230bd152b2404f5088e298efba8c8e18d5..c0c1b4a1947389da6e1722ea8e093fb90f311d8d 100644 (file)
@@ -752,8 +752,6 @@ ta_fromconfig(const cfg_obj_t *key, bool *initialp, const char **namestrp,
        *ds = (dns_rdata_ds_t){ .common.rdclass = dns_rdataclass_in,
                                .common.rdtype = dns_rdatatype_ds };
 
-       ISC_LINK_INIT(&ds->common, link);
-
        switch (anchortype) {
        case INIT_DNSKEY:
        case STATIC_DNSKEY:
@@ -770,8 +768,6 @@ ta_fromconfig(const cfg_obj_t *key, bool *initialp, const char **namestrp,
                 */
                keystruct.mctx = NULL;
 
-               ISC_LINK_INIT(&keystruct.common, link);
-
                if (rdata1 > 0xffff) {
                        CHECKM(ISC_R_RANGE, "key flags");
                }
index 3c6673eb56c18315f95a0aa64a9f37b661357f61..12b096a88ff71fba3c5f55ab90cd6db9729c71b8 100644 (file)
@@ -211,7 +211,6 @@ dns_dnssec_sign(const dns_name_t *name, dns_rdataset_t *set, dst_key_t *key,
        sig.mctx = mctx;
        sig.common.rdclass = set->rdclass;
        sig.common.rdtype = dns_rdatatype_rrsig;
-       ISC_LINK_INIT(&sig.common, link);
 
        /*
         * Downcase signer.
@@ -759,7 +758,6 @@ dns_dnssec_signmessage(dns_message_t *msg, dst_key_t *key) {
        sig.mctx = mctx;
        sig.common.rdclass = dns_rdataclass_any;
        sig.common.rdtype = dns_rdatatype_sig; /* SIG(0) */
-       ISC_LINK_INIT(&sig.common, link);
 
        sig.covered = 0;
        sig.algorithm = dst_algorithm_tosecalg(dst_key_alg(key));
index ef776e5562b0dfb276082258b22dcec37a3487b8..a8628d2b3d06fbcc4819250f0c48c9795bcc6d65 100644 (file)
@@ -453,7 +453,6 @@ tostruct_any_tsig(ARGS_TOSTRUCT) {
        tsig = (dns_rdata_any_tsig_t *)target;
        tsig->common.rdclass = rdata->rdclass;
        tsig->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&tsig->common, link);
 
        dns_rdata_toregion(rdata, &sr);
 
index 95a02fe957659d0f166806cca89f39fa8d290926..744922676392efda5eb35c847c08b4b74d3517c4 100644 (file)
@@ -228,7 +228,6 @@ tostruct_ch_a(ARGS_TOSTRUCT) {
 
        a->common.rdclass = rdata->rdclass;
        a->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&a->common, link);
 
        dns_rdata_toregion(rdata, &region);
 
index 0721610807643027f434eb739cf316f96f019590..5e0a7ef9d78aa6141969ce045e624035b34ee639 100644 (file)
@@ -209,7 +209,6 @@ tostruct_afsdb(ARGS_TOSTRUCT) {
 
        afsdb->common.rdclass = rdata->rdclass;
        afsdb->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&afsdb->common, link);
 
        dns_name_init(&afsdb->server);
 
index 00c66c7bf6c757a05e5537e75d8694571909f9dd..7b8e93bc6723a87ad8c8efe8a056561b07912a3f 100644 (file)
@@ -313,7 +313,6 @@ tostruct_amtrelay(ARGS_TOSTRUCT) {
 
        amtrelay->common.rdclass = rdata->rdclass;
        amtrelay->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&amtrelay->common, link);
 
        dns_name_init(&amtrelay->gateway);
        amtrelay->data = NULL;
index c32c008144e0123f623c2a4ebf5eeb459d5ac1a6..37dcdadce925e409134a3a19abeed45810197543 100644 (file)
@@ -77,7 +77,6 @@ tostruct_avc(ARGS_TOSTRUCT) {
 
        avc->common.rdclass = rdata->rdclass;
        avc->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&avc->common, link);
 
        return generic_tostruct_txt(CALL_TOSTRUCT);
 }
index 9a543c5530b3a383a31d6b32b1972f32d85aced8..2dbe8ab91cea157013e4955efc4a645c69d628c8 100644 (file)
@@ -500,7 +500,6 @@ tostruct_caa(ARGS_TOSTRUCT) {
 
        caa->common.rdclass = rdata->rdclass;
        caa->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&caa->common, link);
 
        dns_rdata_toregion(rdata, &sr);
 
index 6a6e79dfd033824218a91f833231a1109f95117e..53b889770b3005d2d68ea24883225b818536d827 100644 (file)
@@ -90,7 +90,6 @@ tostruct_cdnskey(ARGS_TOSTRUCT) {
 
        dnskey->common.rdclass = rdata->rdclass;
        dnskey->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&dnskey->common, link);
 
        return generic_tostruct_key(CALL_TOSTRUCT);
 }
index b4abb7adc1bb5bda4db9532f11437613d00c360a..359ba812d421de6bcaaa79fd9e950e09d9340caa 100644 (file)
@@ -91,7 +91,6 @@ tostruct_cds(ARGS_TOSTRUCT) {
         */
        cds->common.rdclass = rdata->rdclass;
        cds->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&cds->common, link);
 
        return generic_tostruct_ds(CALL_TOSTRUCT);
 }
index 89bf6b2a687214157188be46faa5b90d90b02e22..d1a9568f6b3943dc8044a3d0b557eca1a19c808f 100644 (file)
@@ -193,7 +193,6 @@ tostruct_cert(ARGS_TOSTRUCT) {
 
        cert->common.rdclass = rdata->rdclass;
        cert->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&cert->common, link);
 
        dns_rdata_toregion(rdata, &region);
 
index dbf333effb679803b5b0f3fa3dc32c49a2de6c8b..fce7c57d380fcfdb565d6c7f36a3e143d48c12c6 100644 (file)
@@ -146,7 +146,6 @@ tostruct_cname(ARGS_TOSTRUCT) {
 
        cname->common.rdclass = rdata->rdclass;
        cname->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&cname->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index 0b23a57fcef06e80f3a70eb8d71dcd5936ba2440..4b31a9ae8d782780d92e7ddcf4af7174da89ad50 100644 (file)
@@ -170,7 +170,6 @@ tostruct_csync(ARGS_TOSTRUCT) {
 
        csync->common.rdclass = rdata->rdclass;
        csync->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&csync->common, link);
 
        dns_rdata_toregion(rdata, &region);
 
index b932e8af65fe8e7d3188064a3e40e7eb035eeb29..376a85004967d54db991eb1f4b7c7f10490f1aa8 100644 (file)
@@ -87,7 +87,6 @@ tostruct_dlv(ARGS_TOSTRUCT) {
 
        dlv->common.rdclass = rdata->rdclass;
        dlv->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&dlv->common, link);
 
        return generic_tostruct_ds(CALL_TOSTRUCT);
 }
index 6e1d6e14d2a87701afded6e1631a43553978ca8a..7df00d8ed069186bdf85a2ba2d08ef012bedbbb0 100644 (file)
@@ -146,7 +146,6 @@ tostruct_dname(ARGS_TOSTRUCT) {
 
        dname->common.rdclass = rdata->rdclass;
        dname->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&dname->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index aff39df4a6bb607cb76377a7f6e527fd2fef33df..676df38746d705381192f6b110fd9bf9215d9442 100644 (file)
@@ -91,7 +91,6 @@ tostruct_dnskey(ARGS_TOSTRUCT) {
 
        dnskey->common.rdclass = rdata->rdclass;
        dnskey->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&dnskey->common, link);
 
        return generic_tostruct_key(CALL_TOSTRUCT);
 }
index 6bfbc10d8e8a534646d0535eaa16de2000ed5707..d0da2a4492b039c11fa74efda4ea98303edff570 100644 (file)
@@ -216,7 +216,6 @@ tostruct_doa(ARGS_TOSTRUCT) {
 
        doa->common.rdclass = rdata->rdclass;
        doa->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&doa->common, link);
 
        dns_rdata_toregion(rdata, &region);
 
index ebbb0b55b1f84fcddefaeaefa1fcbcc0fc7af449..e7373bb0cafedffcc412b520c9bd67e3514d23b3 100644 (file)
@@ -279,7 +279,6 @@ generic_tostruct_ds(ARGS_TOSTRUCT) {
        REQUIRE(rdata->length != 0);
        REQUIRE(ds->common.rdtype == rdata->type);
        REQUIRE(ds->common.rdclass == rdata->rdclass);
-       REQUIRE(!ISC_LINK_LINKED(&ds->common, link));
 
        dns_rdata_toregion(rdata, &region);
 
@@ -305,7 +304,6 @@ tostruct_ds(ARGS_TOSTRUCT) {
 
        ds->common.rdclass = rdata->rdclass;
        ds->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&ds->common, link);
 
        return generic_tostruct_ds(CALL_TOSTRUCT);
 }
index 944316a73c079f8b284df3f652c4135a806da384..b3b5ebe2b729cf64258e8eb25b564f1d246c0ef1 100644 (file)
@@ -138,7 +138,6 @@ tostruct_eui48(ARGS_TOSTRUCT) {
 
        eui48->common.rdclass = rdata->rdclass;
        eui48->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&eui48->common, link);
 
        memmove(eui48->eui48, rdata->data, rdata->length);
        return ISC_R_SUCCESS;
index 1df86ce08552e0c96f77bf2ea0fb66cff350f681..8ea9a3d7a02667ecc45f2400bf2bb362cf0b9af9 100644 (file)
@@ -141,7 +141,6 @@ tostruct_eui64(ARGS_TOSTRUCT) {
 
        eui64->common.rdclass = rdata->rdclass;
        eui64->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&eui64->common, link);
 
        memmove(eui64->eui64, rdata->data, rdata->length);
        return ISC_R_SUCCESS;
index 181293c34528a2d33cf9196963044f3e5d2ea4f3..cb51e8e49ed186b8d44c407d453c24bcf552ddbe 100644 (file)
@@ -134,7 +134,6 @@ tostruct_gpos(ARGS_TOSTRUCT) {
 
        gpos->common.rdclass = rdata->rdclass;
        gpos->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&gpos->common, link);
 
        dns_rdata_toregion(rdata, &region);
        gpos->long_len = uint8_fromregion(&region);
index 3c7d12fb63f7c6f6e162a0db726fe34f8d779faa..867c5d05b5d05a56a050645ffb10474a0932148f 100644 (file)
@@ -118,7 +118,6 @@ tostruct_hinfo(ARGS_TOSTRUCT) {
 
        hinfo->common.rdclass = rdata->rdclass;
        hinfo->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&hinfo->common, link);
 
        dns_rdata_toregion(rdata, &region);
        hinfo->cpu_len = uint8_fromregion(&region);
index b084a899ebfaaad24d6c59fb7469fb1705182b5f..39642c30a7fc3b43b51451e0156b0c5fd1f88d57 100644 (file)
@@ -305,7 +305,6 @@ tostruct_hip(ARGS_TOSTRUCT) {
 
        hip->common.rdclass = rdata->rdclass;
        hip->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&hip->common, link);
 
        dns_rdata_toregion(rdata, &region);
 
index 4c4996c4bbdca148c998298ad31161b977af92eb..c46f776d4ed51b82b52a28779858927886774cc9 100644 (file)
@@ -352,7 +352,6 @@ tostruct_ipseckey(ARGS_TOSTRUCT) {
 
        ipseckey->common.rdclass = rdata->rdclass;
        ipseckey->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&ipseckey->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index 67069a047381d6659871f573ea413cf4cd9a3edc..8ed118781891e851782fe8deab8933669ac8cdb4 100644 (file)
@@ -139,7 +139,6 @@ tostruct_isdn(ARGS_TOSTRUCT) {
 
        isdn->common.rdclass = rdata->rdclass;
        isdn->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&isdn->common, link);
 
        dns_rdata_toregion(rdata, &r);
 
index 70a14269c873e48dbefefbfd9562146ec45fe7b7..e07e9ba279192e9699ac6bf62036c01e47326fb2 100644 (file)
@@ -361,7 +361,6 @@ generic_tostruct_key(ARGS_TOSTRUCT) {
        REQUIRE(key != NULL);
        REQUIRE(key->common.rdclass == rdata->rdclass);
        REQUIRE(key->common.rdtype == rdata->type);
-       REQUIRE(!ISC_LINK_LINKED(&key->common, link));
 
        dns_rdata_toregion(rdata, &sr);
 
@@ -417,7 +416,6 @@ tostruct_key(ARGS_TOSTRUCT) {
 
        key->common.rdclass = rdata->rdclass;
        key->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&key->common, link);
 
        return generic_tostruct_key(CALL_TOSTRUCT);
 }
index 4a34ee4daa80ce2ba60fbbd6114dfb65604fa5b3..894d4129dd000091b569410c50f7360bcb0168c8 100644 (file)
@@ -332,7 +332,6 @@ tostruct_keydata(ARGS_TOSTRUCT) {
 
        keydata->common.rdclass = rdata->rdclass;
        keydata->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&keydata->common, link);
 
        dns_rdata_toregion(rdata, &sr);
 
index a9358eab70b1744d4e5a5c3271064acf83885d53..3b9aeaa9128a1cdf10f720e2d557b252e039cf9e 100644 (file)
@@ -154,7 +154,6 @@ tostruct_l32(ARGS_TOSTRUCT) {
 
        l32->common.rdclass = rdata->rdclass;
        l32->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&l32->common, link);
 
        dns_rdata_toregion(rdata, &region);
        l32->pref = uint16_fromregion(&region);
index 946a33bf33c5ced19e7c8298c617969e985ae941..96ca5c3222c7babbde393cf192e8cb7354905ed6 100644 (file)
@@ -149,7 +149,6 @@ tostruct_l64(ARGS_TOSTRUCT) {
 
        l64->common.rdclass = rdata->rdclass;
        l64->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&l64->common, link);
 
        dns_rdata_toregion(rdata, &region);
        l64->pref = uint16_fromregion(&region);
index ec4238624f9313fda064427d0dad2e218464d473..516347536b799378a3034d0b22e30b17b6cfbf19 100644 (file)
@@ -754,7 +754,6 @@ tostruct_loc(ARGS_TOSTRUCT) {
 
        loc->common.rdclass = rdata->rdclass;
        loc->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&loc->common, link);
 
        loc->v.v0.version = version;
        isc_region_consume(&r, 1);
index 00aa6abc9031ba5e946592710b3ccbf86d053e4e..9eb0f7827981641e55fdb7b964d779f2d9f0bc98 100644 (file)
@@ -157,7 +157,6 @@ tostruct_lp(ARGS_TOSTRUCT) {
 
        lp->common.rdclass = rdata->rdclass;
        lp->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&lp->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index 555d92a51475f517ff0d2323c0be6b66e4e9049d..78120665d414cde155fb13cf39ddf5673cc26600 100644 (file)
@@ -145,7 +145,6 @@ tostruct_mb(ARGS_TOSTRUCT) {
 
        mb->common.rdclass = rdata->rdclass;
        mb->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&mb->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index 217fd3b0bf1000cfafffaa9b5c5b57142610684d..26ace0eade49f6058d97fdc57f493ef7a30554ff 100644 (file)
@@ -145,7 +145,6 @@ tostruct_md(ARGS_TOSTRUCT) {
 
        md->common.rdclass = rdata->rdclass;
        md->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&md->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &r);
index 8f353bf717c30afd5db956f63777273fdf960b21..af4dc0cb1fe7500b2dca12c67af3e78394123de0 100644 (file)
@@ -145,7 +145,6 @@ tostruct_mf(ARGS_TOSTRUCT) {
 
        mf->common.rdclass = rdata->rdclass;
        mf->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&mf->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &r);
index 15dba05c01148df40f4407aa6896ae17d64a275c..2828ff214f029c5aea79b3903160afa725a134f5 100644 (file)
@@ -145,7 +145,6 @@ tostruct_mg(ARGS_TOSTRUCT) {
 
        mg->common.rdclass = rdata->rdclass;
        mg->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&mg->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index 460d37c57375a61df3aea7240c599ed7e3d6d80a..e9ffcd4f0c76b4a75d3f188a8f0348ec9615bad4 100644 (file)
@@ -209,7 +209,6 @@ tostruct_minfo(ARGS_TOSTRUCT) {
 
        minfo->common.rdclass = rdata->rdclass;
        minfo->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&minfo->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index df023d731ac0795ffd7aa532b7d174d09b4bfcef..02384fc97889b2fa87c2cfe62602489d0656d215 100644 (file)
@@ -145,7 +145,6 @@ tostruct_mr(ARGS_TOSTRUCT) {
 
        mr->common.rdclass = rdata->rdclass;
        mr->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&mr->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index 84ffd0e4a56baa459e5430a9ea1a6bd374cbe2b5..c742a4aecada9d554a815e7d7bf1253eec006092 100644 (file)
@@ -233,7 +233,6 @@ tostruct_mx(ARGS_TOSTRUCT) {
 
        mx->common.rdclass = rdata->rdclass;
        mx->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&mx->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index 7589106c6a03173c1b152ea4d2bfd1372ece1020..44c95aee9160ab2b73c1592d70f7761647b4b422 100644 (file)
@@ -501,7 +501,6 @@ tostruct_naptr(ARGS_TOSTRUCT) {
 
        naptr->common.rdclass = rdata->rdclass;
        naptr->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&naptr->common, link);
 
        naptr->flags = NULL;
        naptr->service = NULL;
index f0e76d23af22e317b4a1540d7b9bb959abaa2575..99415feb02de7d3f91bc8a7b950281ba3cd17bb6 100644 (file)
@@ -149,7 +149,6 @@ tostruct_nid(ARGS_TOSTRUCT) {
 
        nid->common.rdclass = rdata->rdclass;
        nid->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&nid->common, link);
 
        dns_rdata_toregion(rdata, &region);
        nid->pref = uint16_fromregion(&region);
index 8bed8637d3f2e3c5984d1c8fd62439f92778d80e..e82488221f560cb3959d7ff07f9430a76489c6b2 100644 (file)
@@ -77,7 +77,6 @@ tostruct_ninfo(ARGS_TOSTRUCT) {
 
        ninfo->common.rdclass = rdata->rdclass;
        ninfo->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&ninfo->common, link);
 
        return generic_tostruct_txt(CALL_TOSTRUCT);
 }
index 89362b6c83f66394b7042cea2e918cfef5a6997e..5bc32b1bca8118d5175c798447be92345582f918 100644 (file)
@@ -159,7 +159,6 @@ tostruct_ns(ARGS_TOSTRUCT) {
 
        ns->common.rdclass = rdata->rdclass;
        ns->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&ns->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index ffdc1847833a71909cf7eb83d2a4be86c77b3241..31a461c8a36ee16a5d3d221d466af9354f381bf8 100644 (file)
@@ -294,7 +294,6 @@ tostruct_nsec3(ARGS_TOSTRUCT) {
 
        nsec3->common.rdclass = rdata->rdclass;
        nsec3->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&nsec3->common, link);
 
        region.base = rdata->data;
        region.length = rdata->length;
index 5e7615e6d9e32b603a6df480c8d26a660a83208f..ecf78a1b92eb09b016a8574825623a9ad02953b5 100644 (file)
@@ -230,7 +230,6 @@ tostruct_nsec3param(ARGS_TOSTRUCT) {
 
        nsec3param->common.rdclass = rdata->rdclass;
        nsec3param->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&nsec3param->common, link);
 
        region.base = rdata->data;
        region.length = rdata->length;
index e8858bb6d8d8c99dc0b6b13b977f244a7e4b0b74..b9ddeaffe24018e2cd96bbfee903f281e23e94db 100644 (file)
@@ -164,7 +164,6 @@ tostruct_nsec(ARGS_TOSTRUCT) {
 
        nsec->common.rdclass = rdata->rdclass;
        nsec->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&nsec->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index bde61b682d48ff9e2bc120ad4bdf79b347bd6370..f063c10eb0f0c35424d7b8929dba6ab0bbe8e347 100644 (file)
@@ -102,7 +102,6 @@ tostruct_null(ARGS_TOSTRUCT) {
 
        null->common.rdclass = rdata->rdclass;
        null->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&null->common, link);
 
        dns_rdata_toregion(rdata, &r);
        null->length = r.length;
index 077bd73f5ac8f07e14f8a3cec3c8c6b4afc16280..919db91d7b750125d1e6dcc909bbf7a3d328035c 100644 (file)
@@ -243,7 +243,6 @@ tostruct_nxt(ARGS_TOSTRUCT) {
 
        nxt->common.rdclass = rdata->rdclass;
        nxt->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&nxt->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index 9b51b1f4ca7573adeeb4caeeb6b2e76013d43fbb..2d92221dddd48ba7d52950a3726d8e65cb5c4608 100644 (file)
@@ -146,7 +146,6 @@ tostruct_openpgpkey(ARGS_TOSTRUCT) {
 
        sig->common.rdclass = rdata->rdclass;
        sig->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&sig->common, link);
 
        dns_rdata_toregion(rdata, &sr);
 
index 514e076fde718f7bc99fe8fa9289c249051c4d94..5ba5be9e97417b7eaa1904dbce3c9b98a5f98d2a 100644 (file)
@@ -366,7 +366,6 @@ tostruct_opt(ARGS_TOSTRUCT) {
 
        opt->common.rdclass = rdata->rdclass;
        opt->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&opt->common, link);
 
        dns_rdata_toregion(rdata, &r);
        opt->length = r.length;
index e0b5ea6309c3bb4402818e63dd50d2ba9859f6ef..2dac4e9839063a3880a1117f2ffb030cc8027ea6 100644 (file)
@@ -163,7 +163,6 @@ tostruct_ptr(ARGS_TOSTRUCT) {
 
        ptr->common.rdclass = rdata->rdclass;
        ptr->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&ptr->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index 7c18c402119e21c2d100a47e3a47370a8fe7d2e1..0e35f2365e1f1068ad8834247d0ec2ef318366af 100644 (file)
@@ -78,7 +78,6 @@ tostruct_resinfo(ARGS_TOSTRUCT) {
 
        resinfo->common.rdclass = rdata->rdclass;
        resinfo->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&resinfo->common, link);
 
        return generic_tostruct_txt(CALL_TOSTRUCT);
 }
index 4ed504fd2a3a135d36dc04ec360cce8434d12f6f..fb75ac5df1506ec68b02065b69ff9b01cf68705c 100644 (file)
@@ -87,7 +87,6 @@ tostruct_rkey(ARGS_TOSTRUCT) {
 
        rkey->common.rdclass = rdata->rdclass;
        rkey->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&rkey->common, link);
 
        return generic_tostruct_key(CALL_TOSTRUCT);
 }
index bc1861e9881da7a24a3d4a34307a05117cfcfc2e..9e783e1aec30fd0bec6f4cccd2ce13788a05eb2e 100644 (file)
@@ -212,7 +212,6 @@ tostruct_rp(ARGS_TOSTRUCT) {
 
        rp->common.rdclass = rdata->rdclass;
        rp->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&rp->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index 4b86f6a7c3ff8db9f0742cc092275d6b7c200063..09afc31805159db592474f529c0e5e40703e1424 100644 (file)
@@ -499,7 +499,6 @@ tostruct_rrsig(ARGS_TOSTRUCT) {
 
        sig->common.rdclass = rdata->rdclass;
        sig->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&sig->common, link);
 
        dns_rdata_toregion(rdata, &sr);
 
index 798693f92b8f368f11bf2c03ee0bf0174502ec4d..a225ace96ce0a900a004ef6a9982c655701da721 100644 (file)
@@ -208,7 +208,6 @@ tostruct_rt(ARGS_TOSTRUCT) {
 
        rt->common.rdclass = rdata->rdclass;
        rt->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&rt->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index 2027ca9abf942b1611c203f149f18e2217b26962..2d5d8285771c75a36f25f999a93a0f28157cac40 100644 (file)
@@ -463,7 +463,6 @@ tostruct_sig(ARGS_TOSTRUCT) {
 
        sig->common.rdclass = rdata->rdclass;
        sig->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&sig->common, link);
 
        dns_rdata_toregion(rdata, &sr);
 
index 1b0b5cc6e2c65f25be3734291c8c85d43f608615..41fc4bef2c4544b658260965621c5cb950230ea7 100644 (file)
@@ -185,7 +185,6 @@ tostruct_sink(ARGS_TOSTRUCT) {
 
        sink->common.rdclass = rdata->rdclass;
        sink->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&sink->common, link);
 
        dns_rdata_toregion(rdata, &sr);
 
index ea947770dbcd76431c75e34ad495c4a23aa998cd..7d10efd87276d43e64de8d2dd61ba913c552bce1 100644 (file)
@@ -84,7 +84,6 @@ tostruct_smimea(ARGS_TOSTRUCT) {
 
        smimea->common.rdclass = rdata->rdclass;
        smimea->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&smimea->common, link);
 
        return generic_tostruct_tlsa(CALL_TOSTRUCT);
 }
index 427433ee28bb6149ca157445fa5fd8b5ab224339..9c5a04eecdaa183c769242c7300fa82b6f20ecf7 100644 (file)
@@ -314,7 +314,6 @@ tostruct_soa(ARGS_TOSTRUCT) {
 
        soa->common.rdclass = rdata->rdclass;
        soa->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&soa->common, link);
 
        dns_rdata_toregion(rdata, &region);
 
index 9347a74624be80d0f1a3acac4b156635aafc950d..ff598583df18dd953592b1192ccdf1b7aec25eec 100644 (file)
@@ -78,7 +78,6 @@ tostruct_spf(ARGS_TOSTRUCT) {
 
        spf->common.rdclass = rdata->rdclass;
        spf->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&spf->common, link);
 
        return generic_tostruct_txt(CALL_TOSTRUCT);
 }
index 8e523a5a50a14f2df36b2292931d8a031d4501c0..78fc02181f7ef93b9f95081164fc70a679c771e2 100644 (file)
@@ -206,7 +206,6 @@ tostruct_sshfp(ARGS_TOSTRUCT) {
 
        sshfp->common.rdclass = rdata->rdclass;
        sshfp->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&sshfp->common, link);
 
        dns_rdata_toregion(rdata, &region);
 
index 186190263ae6e07fef5013970faeff40c9e070fb..e816bfc29af641ddf48df019105ef2d73f49b360 100644 (file)
@@ -87,7 +87,6 @@ tostruct_ta(ARGS_TOSTRUCT) {
         */
        ds->common.rdclass = rdata->rdclass;
        ds->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&ds->common, link);
 
        return generic_tostruct_ds(CALL_TOSTRUCT);
 }
index fef1195b32254298054e43064771c35ff0457092..943448d4f6d9ad2d39c55d661712e13a7ce528d1 100644 (file)
@@ -168,7 +168,6 @@ tostruct_talink(ARGS_TOSTRUCT) {
 
        talink->common.rdclass = rdata->rdclass;
        talink->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&talink->common, link);
 
        dns_rdata_toregion(rdata, &region);
 
index b16757b3ada64dbceed3994628cd3b3fb699575e..35a371c1bd94493f7638cae535b015e3880e6f28 100644 (file)
@@ -425,7 +425,6 @@ tostruct_tkey(ARGS_TOSTRUCT) {
 
        tkey->common.rdclass = rdata->rdclass;
        tkey->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&tkey->common, link);
 
        dns_rdata_toregion(rdata, &sr);
 
index 690c81bb160cc7414d84a6a8058cb9fe78fb80c9..da978b0e975b935ff82fd76062cccc395758b4d4 100644 (file)
@@ -217,7 +217,6 @@ generic_tostruct_tlsa(ARGS_TOSTRUCT) {
        REQUIRE(tlsa != NULL);
        REQUIRE(tlsa->common.rdclass == rdata->rdclass);
        REQUIRE(tlsa->common.rdtype == rdata->type);
-       REQUIRE(!ISC_LINK_LINKED(&tlsa->common, link));
 
        dns_rdata_toregion(rdata, &region);
 
@@ -266,7 +265,6 @@ tostruct_tlsa(ARGS_TOSTRUCT) {
 
        tlsa->common.rdclass = rdata->rdclass;
        tlsa->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&tlsa->common, link);
 
        return generic_tostruct_tlsa(CALL_TOSTRUCT);
 }
index f45ac4a8b408e89beb9051fcbf4bf57a84e529ca..7a75d5cf5ad3d4a41afac2eb0a4748cfc5b37723 100644 (file)
@@ -167,7 +167,6 @@ generic_tostruct_txt(ARGS_TOSTRUCT) {
        REQUIRE(txt != NULL);
        REQUIRE(txt->common.rdclass == rdata->rdclass);
        REQUIRE(txt->common.rdtype == rdata->type);
-       REQUIRE(!ISC_LINK_LINKED(&txt->common, link));
 
        dns_rdata_toregion(rdata, &r);
        txt->txt_len = r.length;
@@ -209,7 +208,6 @@ tostruct_txt(ARGS_TOSTRUCT) {
 
        txt->common.rdclass = rdata->rdclass;
        txt->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&txt->common, link);
 
        return generic_tostruct_txt(CALL_TOSTRUCT);
 }
index f74f8483364bba51aa967c003623e00d4547ddb3..bb197df9a80973bee34095b9dcc77d6737c554f5 100644 (file)
@@ -212,7 +212,6 @@ tostruct_uri(ARGS_TOSTRUCT) {
 
        uri->common.rdclass = rdata->rdclass;
        uri->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&uri->common, link);
 
        dns_rdata_toregion(rdata, &sr);
 
index 106003cc138d8980b69f1eebf3000c8a20630fd3..9cd4cf8ab768802fc75ecaffecc1bed192072290 100644 (file)
@@ -77,7 +77,6 @@ tostruct_wallet(ARGS_TOSTRUCT) {
 
        wallet->common.rdclass = rdata->rdclass;
        wallet->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&wallet->common, link);
 
        return generic_tostruct_txt(CALL_TOSTRUCT);
 }
index 4f96d591a8a45a1ec282c12c7f0a5f01b8b873ab..c8f5ba445a3336a8b939b721a14fa653ba8c66e7 100644 (file)
@@ -147,7 +147,6 @@ tostruct_x25(ARGS_TOSTRUCT) {
 
        x25->common.rdclass = rdata->rdclass;
        x25->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&x25->common, link);
 
        dns_rdata_toregion(rdata, &r);
        x25->x25_len = uint8_fromregion(&r);
index 79c869e5a2dbed050a480aefb2ef3a7b4f27473e..2b8f701427ab1a0790c4c386362e764dac3c981f 100644 (file)
@@ -258,7 +258,6 @@ tostruct_zonemd(ARGS_TOSTRUCT) {
 
        zonemd->common.rdclass = rdata->rdclass;
        zonemd->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&zonemd->common, link);
 
        dns_rdata_toregion(rdata, &region);
 
index 706f14dd379a875fe3d6dd3fa8bb60ae791b8d96..35034052e3102437a4fee96227eea7f48aad7e05 100644 (file)
@@ -160,7 +160,6 @@ tostruct_hs_a(ARGS_TOSTRUCT) {
 
        a->common.rdclass = rdata->rdclass;
        a->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&a->common, link);
 
        dns_rdata_toregion(rdata, &region);
        n = uint32_fromregion(&region);
index 822f9b225beef766af28b27e20b7a21b2d2a5d2d..34e118fb4a19ee8b4b3f30b2dc9ca50498b3ce42 100644 (file)
@@ -351,7 +351,6 @@ tostruct_in_a6(ARGS_TOSTRUCT) {
 
        a6->common.rdclass = rdata->rdclass;
        a6->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&a6->common, link);
 
        dns_rdata_toregion(rdata, &r);
 
index 1c456e713ae9882c19b933c47c4179ed1551a830..68419a1f46e47ab92e370ebc8c51cbb8b16a4edd 100644 (file)
@@ -161,7 +161,6 @@ tostruct_in_a(ARGS_TOSTRUCT) {
 
        a->common.rdclass = rdata->rdclass;
        a->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&a->common, link);
 
        dns_rdata_toregion(rdata, &region);
        n = uint32_fromregion(&region);
index ab934dbcb95ebd850abdbd3a74f2cb3833177f68..72324f001053406d6286df61f6a1ba3460d757a3 100644 (file)
@@ -173,7 +173,6 @@ tostruct_in_aaaa(ARGS_TOSTRUCT) {
 
        aaaa->common.rdclass = rdata->rdclass;
        aaaa->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&aaaa->common, link);
 
        dns_rdata_toregion(rdata, &r);
        INSIST(r.length == 16);
index 8bc130fe84a679668c54cd6408fd048f5c49d1c3..fc8f115c9133ef1ba4146d1a3c65458c32f8734d 100644 (file)
@@ -290,7 +290,6 @@ tostruct_in_apl(ARGS_TOSTRUCT) {
 
        apl->common.rdclass = rdata->rdclass;
        apl->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&apl->common, link);
 
        dns_rdata_toregion(rdata, &r);
        apl->apl_len = r.length;
index c2749198bd2e35120042c26ad69491ea3f29a6d0..9f0d5aca8695c22d8a5ba2b3a8dc9be309503992 100644 (file)
@@ -226,7 +226,6 @@ tostruct_in_atma(ARGS_TOSTRUCT) {
 
        atma->common.rdclass = rdata->rdclass;
        atma->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&atma->common, link);
 
        dns_rdata_toregion(rdata, &r);
        atma->format = r.base[0];
index 8bc76241028594bddbc56c2a01a1e3d9df4d2318..fc18e8bb06fa88ab1a50488d63d98c68f2ce44b9 100644 (file)
@@ -146,7 +146,6 @@ tostruct_in_dhcid(ARGS_TOSTRUCT) {
 
        dhcid->common.rdclass = rdata->rdclass;
        dhcid->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&dhcid->common, link);
 
        dns_rdata_toregion(rdata, &region);
 
index 641a60475c3618fde60e83888e225d39571e599b..2cafb78903745883ef250c2182d532a719a1b1fd 100644 (file)
@@ -135,7 +135,6 @@ tostruct_in_eid(ARGS_TOSTRUCT) {
 
        eid->common.rdclass = rdata->rdclass;
        eid->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&eid->common, link);
 
        dns_rdata_toregion(rdata, &r);
        eid->eid_len = r.length;
index 3498b72d2604d291b7848424df9c7b0bb208afc6..0ba015abff55564a1dfcf94f2e60af80116003bf 100644 (file)
@@ -188,7 +188,6 @@ tostruct_in_kx(ARGS_TOSTRUCT) {
 
        kx->common.rdclass = rdata->rdclass;
        kx->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&kx->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index 1841fe83882f1087081eb52f0414895a7fe4977f..ad8b45fb6930e76d78d12affdffde73868a96956 100644 (file)
@@ -135,7 +135,6 @@ tostruct_in_nimloc(ARGS_TOSTRUCT) {
 
        nimloc->common.rdclass = rdata->rdclass;
        nimloc->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&nimloc->common, link);
 
        dns_rdata_toregion(rdata, &r);
        nimloc->nimloc_len = r.length;
index 929d3264221b5af1589d9911bd747dfb377b1f54..a710bc982fbc5eb63fa030d4be0fc750bb13006d 100644 (file)
@@ -153,7 +153,6 @@ tostruct_in_nsap_ptr(ARGS_TOSTRUCT) {
 
        nsap_ptr->common.rdclass = rdata->rdclass;
        nsap_ptr->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&nsap_ptr->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index 208ae94c6ce17c7721636c2c10cd0817b3197431..5b88479d4c731f00177999688dfee49897cf5201 100644 (file)
@@ -170,7 +170,6 @@ tostruct_in_nsap(ARGS_TOSTRUCT) {
 
        nsap->common.rdclass = rdata->rdclass;
        nsap->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&nsap->common, link);
 
        dns_rdata_toregion(rdata, &r);
        nsap->nsap_len = r.length;
index 89603478ed20ad96e46b5f0e18af5c5eec7c197d..68b2b9c49fbeda10a9c559ced9090ead55efc3be 100644 (file)
@@ -256,7 +256,6 @@ tostruct_in_px(ARGS_TOSTRUCT) {
 
        px->common.rdclass = rdata->rdclass;
        px->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&px->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index 5c0cb1ed7293b18322b987ea69f438ab1b1dc2f3..b436245ddb610b4009d6aebe0977db7f7db3f7d4 100644 (file)
@@ -272,7 +272,6 @@ tostruct_in_srv(ARGS_TOSTRUCT) {
 
        srv->common.rdclass = rdata->rdclass;
        srv->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&srv->common, link);
 
        dns_name_init(&name);
        dns_rdata_toregion(rdata, &region);
index 0f458c9c0481d3b09c0441611cf628a377ab2229..4965d7333aa2cc5c2f7341dbece33dd9664e79b0 100644 (file)
@@ -1021,7 +1021,6 @@ generic_tostruct_in_svcb(ARGS_TOSTRUCT) {
 
        svcb->common.rdclass = rdata->rdclass;
        svcb->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&svcb->common, link);
 
        dns_rdata_toregion(rdata, &region);
 
index 23eb3b032a70f6163299becae67b98af372e8a52..bc98ebdbbc714dd6eb6ceff770bdc785af334718 100644 (file)
@@ -307,7 +307,6 @@ tostruct_in_wks(ARGS_TOSTRUCT) {
 
        wks->common.rdclass = rdata->rdclass;
        wks->common.rdtype = rdata->type;
-       ISC_LINK_INIT(&wks->common, link);
 
        dns_rdata_toregion(rdata, &region);
        n = uint32_fromregion(&region);
index f2019ac2dfd44d9d219f2f53b39a93123d2ebc4e..f4511f03ef7fc87bd9ed90b6f64a20f1f2b894d7 100644 (file)
 typedef struct dns_rdatacommon {
        dns_rdataclass_t rdclass;
        dns_rdatatype_t rdtype;
-       ISC_LINK(struct dns_rdatacommon) link;
 } dns_rdatacommon_t;
 
 #define DNS_RDATACOMMON_INIT(_data, _rdtype, _rdclass) \
        do {                                           \
                (_data)->common.rdtype = (_rdtype);    \
                (_data)->common.rdclass = (_rdclass);  \
-               ISC_LINK_INIT(&(_data)->common, link); \
        } while (0)
index 81634f2fa185189604e2ae02613e0425b418e961..2a60538779d40ac9b9c2b65074833d5144e3edd9 100644 (file)
@@ -419,7 +419,6 @@ dns_tkey_processquery(dns_message_t *msg, dns_tkeyctx_t *tctx,
        tkeyout = (dns_rdata_tkey_t){
                .common.rdclass = tkeyin.common.rdclass,
                .common.rdtype = tkeyin.common.rdtype,
-               .common.link = ISC_LINK_INITIALIZER,
                .mctx = msg->mctx,
                .algorithm = DNS_NAME_INITEMPTY,
                .mode = tkeyin.mode,
@@ -595,7 +594,6 @@ dns_tkey_buildgssquery(dns_message_t *msg, const dns_name_t *name,
        tkey = (dns_rdata_tkey_t){
                .common.rdclass = dns_rdataclass_any,
                .common.rdtype = dns_rdatatype_tkey,
-               .common.link = ISC_LINK_INITIALIZER,
                .inception = now,
                .expire = now + lifetime,
                .algorithm = DNS_NAME_INITEMPTY,
@@ -684,7 +682,6 @@ dns_tkey_gssnegotiate(dns_message_t *qmsg, dns_message_t *rmsg,
                tkey = (dns_rdata_tkey_t){
                        .common.rdclass = dns_rdataclass_any,
                        .common.rdtype = dns_rdatatype_tkey,
-                       .common.link = ISC_LINK_INITIALIZER,
                        .inception = qtkey.inception,
                        .expire = qtkey.expire,
                        .algorithm = DNS_NAME_INITEMPTY,
index 211cba9dd8fbe0910cc335e3857b65d89fd53930..88b9d18213b4c67b311616cbc2e97b5257f138aa 100644 (file)
@@ -576,7 +576,6 @@ dns_tsig_sign(dns_message_t *msg) {
                .mctx = mctx,
                .common.rdclass = dns_rdataclass_any,
                .common.rdtype = dns_rdatatype_tsig,
-               .common.link = ISC_LINK_INITIALIZER,
                .timesigned = now + msg->timeadjust,
                .fudge = DNS_TSIG_FUDGE,
                .originalid = msg->id,
index 03693ffa0b6881ef59451b2c7f617aff25d42157..1f72c68afecdcdfca5c17df7ebbe4d667fdf9c1d 100644 (file)
@@ -4500,7 +4500,6 @@ create_keydata(dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver,
        memset(&kd, 0, sizeof(kd));
        kd.common.rdclass = zone->rdclass;
        kd.common.rdtype = dns_rdatatype_keydata;
-       ISC_LINK_INIT(&kd.common, link);
 
        isc_buffer_init(&rrdatabuf, rrdata, sizeof(rrdata));
 
@@ -24232,7 +24231,6 @@ dns_zone_setnsec3param(dns_zone_t *zone, uint8_t hash, uint8_t flags,
        } else {
                param.common.rdclass = zone->rdclass;
                param.common.rdtype = dns_rdatatype_nsec3param;
-               ISC_LINK_INIT(&param.common, link);
                param.mctx = NULL;
                /*
                 * nsec3 specific param set in
index c125c18c65d37ecf7dd10dca70710e76a1eaac5d..625246b8c5afd6ff087cbb1e54cf0ef960bce5c0 100644 (file)
@@ -114,7 +114,6 @@ create_keystruct(uint16_t flags, uint8_t proto, uint8_t alg, const char *keystr,
        keystruct->common.rdclass = rdclass;
        keystruct->common.rdtype = dns_rdatatype_dnskey;
        keystruct->mctx = mctx;
-       ISC_LINK_INIT(&keystruct->common, link);
        keystruct->flags = flags;
        keystruct->protocol = proto;
        keystruct->algorithm = alg;
index b2c9bd980e629e87bb88be061be35ffa10be4235..26402acdeb5d1cafad38957abb179fc2c8de2b43 100644 (file)
@@ -94,7 +94,6 @@ add_tsig(dst_context_t *tsigctx, dns_tsigkey_t *key, isc_buffer_t *target,
 
        tsig.common.rdclass = dns_rdataclass_any;
        tsig.common.rdtype = dns_rdatatype_tsig;
-       ISC_LINK_INIT(&tsig.common, link);
        dns_name_init(&tsig.algorithm);
        dns_name_clone(dns_tsigkey_algorithm(key), &tsig.algorithm);