From: Frédéric Lécaille Date: Tue, 20 Jun 2023 13:13:12 +0000 (+0200) Subject: CLEANUP: quic: Remove qc_list_all_rx_pkts() defined but not used X-Git-Tag: v2.9-dev1~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7d9f12998d2177f0bcf1ec8f4ebba3a5bed2638b;p=thirdparty%2Fhaproxy.git CLEANUP: quic: Remove qc_list_all_rx_pkts() defined but not used This function is not used. May be safely removed. --- 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);