]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: quic: Remove qc_list_all_rx_pkts() defined but not used
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 20 Jun 2023 13:13:12 +0000 (15:13 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 30 Jun 2023 14:20:55 +0000 (16:20 +0200)
This function is not used. May be safely removed.

include/haproxy/quic_conn.h

index 6e9847d310a7b5283d5989f8d48a53269747e894..6f259900d8679ebc6eb81629fd288564921ea6dd 100644 (file)
@@ -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);