From 57443f34ba5d65b1f9e2499ee763e11f1aa9aba5 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 30 Jul 2003 00:54:27 +0000 Subject: [PATCH] remove redundant check [RT #8539] --- lib/dns/include/dns/rdata.h | 10 +--------- lib/dns/rdata.c | 3 +-- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/lib/dns/include/dns/rdata.h b/lib/dns/include/dns/rdata.h index 21b09a543b..9a6f859c13 100644 --- a/lib/dns/include/dns/rdata.h +++ b/lib/dns/include/dns/rdata.h @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rdata.h,v 1.55 2002/06/17 04:01:31 marka Exp $ */ +/* $Id: rdata.h,v 1.56 2003/07/30 00:54:27 marka Exp $ */ #ifndef DNS_RDATA_H #define DNS_RDATA_H 1 @@ -468,10 +468,6 @@ dns_rdatatype_ismeta(dns_rdatatype_t type); /* * Return true iff the rdata type 'type' is a meta-type * like ANY or AXFR. - * - * Requires: - * 'type' is a valid rdata type. - * */ isc_boolean_t @@ -490,10 +486,6 @@ dns_rdataclass_ismeta(dns_rdataclass_t rdclass); /* * Return true iff the rdata class 'rdclass' is a meta-class * like ANY or NONE. - * - * Requires: - * 'rdclass' is a valid rdata class. - * */ isc_boolean_t diff --git a/lib/dns/rdata.c b/lib/dns/rdata.c index a3f0a22d39..fd11282e9f 100644 --- a/lib/dns/rdata.c +++ b/lib/dns/rdata.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rdata.c,v 1.177 2003/07/25 00:01:05 marka Exp $ */ +/* $Id: rdata.c,v 1.178 2003/07/30 00:54:26 marka Exp $ */ #include #include @@ -2055,7 +2055,6 @@ dns_rdatatype_atparent(dns_rdatatype_t type) { isc_boolean_t dns_rdataclass_ismeta(dns_rdataclass_t rdclass) { - REQUIRE(rdclass < 65536); if (rdclass == dns_rdataclass_reserved0 || rdclass == dns_rdataclass_none