From: Christopher Faulet Date: Thu, 6 Jan 2022 07:48:37 +0000 (+0100) Subject: CLEANUP: conn-stream: Remove cs_destroy() X-Git-Tag: v2.6-dev2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3a3af1ec81aa6ba55bef84dba31f7155539a06a;p=thirdparty%2Fhaproxy.git CLEANUP: conn-stream: Remove cs_destroy() This function is no longer used. --- diff --git a/include/haproxy/conn_stream.h b/include/haproxy/conn_stream.h index fa0959c6d8..517d6d2f6f 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)