From e3a3af1ec81aa6ba55bef84dba31f7155539a06a Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Thu, 6 Jan 2022 08:48:37 +0100 Subject: [PATCH] CLEANUP: conn-stream: Remove cs_destroy() This function is no longer used. --- include/haproxy/conn_stream.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/haproxy/conn_stream.h b/include/haproxy/conn_stream.h index fa0959c6d..517d6d2f6 100644 --- a/include/haproxy/conn_stream.h +++ b/include/haproxy/conn_stream.h @@ -96,13 +96,6 @@ static inline struct stream_interface *cs_si(const struct conn_stream *cs) return (cs_strm(cs) ? cs->si : NULL); } -/* Release a conn_stream */ -static inline void cs_destroy(struct conn_stream *cs) -{ - cs_detach_endp(cs); - cs_free(cs); -} - static inline const char *cs_get_data_name(const struct conn_stream *cs) { if (!cs || !cs->data_cb)