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 fa0959c..517d6d2 100644
--- a/include/haproxy/conn_stream.h
+++ b/include/haproxy/conn_stream.h
@@ -96,13 +96,6 @@
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)