mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
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:
parent
9ef64cd078
commit
d3f4dd8014
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user