From: Frédéric Lécaille Date: Wed, 2 Jun 2021 15:38:13 +0000 (+0200) Subject: MINOR: quic: Remove a useless variable in quic_update_ack_ranges_list() X-Git-Tag: v2.5-dev8~128 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c825eba5f997138177d82d21ac54aa12ed2a410e;p=thirdparty%2Fhaproxy.git MINOR: quic: Remove a useless variable in quic_update_ack_ranges_list() This very minor modification is there to ease the readibilyt of this function. --- diff --git a/src/xprt_quic.c b/src/xprt_quic.c index c6b9a447f2..847f4d30da 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -2348,15 +2348,13 @@ int quic_update_ack_ranges_list(struct quic_arngs *arngs, * which follow it. */ if (new) { - uint64_t new_node_last; struct eb64_node *next; struct quic_arng_node *next_node; - new_node_last = new_node->last; while ((next = eb64_next(new))) { next_node = eb64_entry(&next->node, struct quic_arng_node, first); - if (new_node_last + 1 < next_node->first.key) + if (new_node->last + 1 < next_node->first.key) break; if (next_node->last > new_node->last)