]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: conn-stream: Remove cs_destroy()
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 6 Jan 2022 07:48:37 +0000 (08:48 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Feb 2022 10:00:03 +0000 (11:00 +0100)
This function is no longer used.

include/haproxy/conn_stream.h

index fa0959c6d89f6c4797f6e9e5a8fa18fedbc48f05..517d6d2f6f9617cebc3c61fb39720db7a5b264b7 100644 (file)
@@ -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)