Remove obsolete check for resolver-nonbackoff-tries

With the resolver-nonbackoff-tries statement being removed in #4405,
this check can no longer be reached and can be safely removed.
This commit is contained in:
Tom Krizek
2023-12-07 13:10:58 +01:00
parent 28d5de9046
commit 059a63793a

View File

@@ -1789,16 +1789,6 @@ check_options(const cfg_obj_t *options, const cfg_obj_t *config,
}
}
obj = NULL;
(void)cfg_map_get(options, "resolver-nonbackoff-tries", &obj);
if (obj != NULL && cfg_obj_asuint32(obj) == 0U) {
cfg_obj_log(obj, logctx, ISC_LOG_ERROR,
"'resolver-nonbackoff-tries' must be >= 1");
if (result == ISC_R_SUCCESS) {
result = ISC_R_RANGE;
}
}
obj = NULL;
(void)cfg_map_get(options, "max-ixfr-ratio", &obj);
if (obj != NULL && cfg_obj_ispercentage(obj)) {