MINOR: mux-quic: remove unused bogus qcc_get_stream()
qcc_get_stream() was used when qcs and qc_stream_desc shared the same
node-tree. This is not the case anymore since
e4301da5ed9e77844c653ea4caf233546febe591
MINOR: quic-stream: use distinct tree nodes for quic stream and qcs
Now this function is broken as the qcc tree only contains qcs.
Thankfully it is unused so it can be removed without impact.
diff --git a/include/haproxy/mux_quic.h b/include/haproxy/mux_quic.h
index cd0a318..233a210 100644
--- a/include/haproxy/mux_quic.h
+++ b/include/haproxy/mux_quic.h
@@ -89,22 +89,6 @@
return 0;
}
-/* Retrieve a qc_stream_desc from the MUX <qcc> with <id>. 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;