mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 22:31:28 +02:00
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.
This commit is contained in:
parent
fe8f555f5c
commit
408d226aa1
@ -89,22 +89,6 @@ static inline int qcc_install_app_ops(struct qcc *qcc,
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user