From c825eba5f997138177d82d21ac54aa12ed2a410e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Wed, 2 Jun 2021 17:38:13 +0200 Subject: [PATCH] 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. --- src/xprt_quic.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) -- 2.47.3