CLEANUP: conn-stream: Remove cs_destroy()

This function is no longer used.
This commit is contained in:
Christopher Faulet 2022-01-06 08:48:37 +01:00
parent 54e85cbfc7
commit e3a3af1ec8

View 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)