MINOR: quic: Useless test in quic_update_ack_ranges_list()

At this place, the condition "le_ar->first.key <= ar->first" is true because
<le_ar> is the ack-range just below <ar> ack range.
This commit is contained in:
Frédéric Lécaille 2021-06-02 15:36:12 +02:00 committed by Amaury Denoyelle
parent 9ef64cd078
commit d3f4dd8014

View File

@ -2329,7 +2329,7 @@ int quic_update_ack_ranges_list(struct quic_arngs *arngs,
eb64_entry(&le->node, struct quic_arng_node, first);
/* Already existing range */
if (le_ar->first.key <= ar->first && le_ar->last >= ar->last)
if (le_ar->last >= ar->last)
return 1;
if (le_ar->last + 1 >= ar->first) {