2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

remove redundant test, unsigned is always >= 0

This commit is contained in:
Mark Andrews
2011-05-13 01:57:38 +00:00
parent 929a236497
commit 5c09391c07

View File

@@ -2465,8 +2465,7 @@ void ack_lease (packet, lease, offer, when, msg, ms_nulltp, hp)
evaluate_option_cache(&d1, packet, lt, NULL,
packet->options, state->options,
&lt->scope, oc, MDL)) {
if (d1.len == 1 &&
(d1.data[0] >= 0) && (d1.data[0] < 100))
if (d1.len == 1 && (d1.data[0] < 100))
thresh = d1.data[0];
data_string_forget(&d1, MDL);