diff --git a/include/haproxy/mux_quic.h b/include/haproxy/mux_quic.h index cd0a31825..233a210a6 100644 --- a/include/haproxy/mux_quic.h +++ b/include/haproxy/mux_quic.h @@ -89,22 +89,6 @@ static inline int qcc_install_app_ops(struct qcc *qcc, return 0; } -/* Retrieve a qc_stream_desc from the MUX with . This function is - * useful for the transport layer. - * - * Returns the stream instance or NULL if not found. - */ -static inline struct qc_stream_desc *qcc_get_stream(struct qcc *qcc, uint64_t id) -{ - struct eb64_node *node; - - node = eb64_lookup(&qcc->streams_by_id, id); - if (!node) - return NULL; - - return eb64_entry(node, struct qc_stream_desc, by_id); -} - static inline struct conn_stream *qc_attach_cs(struct qcs *qcs, struct buffer *buf) { struct conn_stream *cs;