]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
iterate: remove function unused after parent merge
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 17 Feb 2017 15:41:18 +0000 (16:41 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 17 Feb 2017 15:41:18 +0000 (16:41 +0100)
lib/layer/iterate.c

index 9ca26a04ae0b2250d7d5c566fcd31419d81cd86a..ccb5d882c4c39f6f08ba31ccb427469cd845334d 100644 (file)
@@ -358,18 +358,6 @@ static void finalize_answer(knot_pkt_t *pkt, struct kr_query *qry, struct kr_req
        knot_wire_set_rcode(answer->wire, knot_wire_get_rcode(pkt->wire));
 }
 
-static bool is_rrsig_type_covered(const knot_rrset_t *rr, uint16_t type)
-{
-       bool ret = false;
-       for (unsigned i = 0; i < rr->rrs.rr_count; ++i) {
-               if (knot_rrsig_type_covered(&rr->rrs, i) == type) {
-                       ret = true;
-                       break;
-               }
-       }
-       return ret;
-}
-
 static int unroll_cname(knot_pkt_t *pkt, struct kr_request *req, bool referral, const knot_dname_t **cname_ret)
 {
        struct kr_query *query = req->current_query;