From 7d9f12998d2177f0bcf1ec8f4ebba3a5bed2638b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Tue, 20 Jun 2023 15:13:12 +0200 Subject: [PATCH] CLEANUP: quic: Remove qc_list_all_rx_pkts() defined but not used This function is not used. May be safely removed. --- include/haproxy/quic_conn.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/haproxy/quic_conn.h b/include/haproxy/quic_conn.h index 6e9847d310..6f259900d8 100644 --- a/include/haproxy/quic_conn.h +++ b/include/haproxy/quic_conn.h @@ -560,15 +560,6 @@ static inline void qc_list_qel_rx_pkts(struct quic_enc_level *qel) } } -static inline void qc_list_all_rx_pkts(struct quic_conn *qc) -{ - fprintf(stderr, "REMAINING QEL RX PKTS:\n"); - qc_list_qel_rx_pkts(&qc->els[QUIC_TLS_ENC_LEVEL_INITIAL]); - qc_list_qel_rx_pkts(&qc->els[QUIC_TLS_ENC_LEVEL_EARLY_DATA]); - qc_list_qel_rx_pkts(&qc->els[QUIC_TLS_ENC_LEVEL_HANDSHAKE]); - qc_list_qel_rx_pkts(&qc->els[QUIC_TLS_ENC_LEVEL_APP]); -} - void chunk_frm_appendf(struct buffer *buf, const struct quic_frame *frm); void quic_set_connection_close(struct quic_conn *qc, const struct quic_err err); -- 2.47.3