mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-05-02 15:58:03 +00:00
CLEANUP: conn-stream: Remove cs_destroy()
This function is no longer used.
This commit is contained in:
parent
54e85cbfc7
commit
e3a3af1ec8
@ -96,13 +96,6 @@ static inline struct stream_interface *cs_si(const struct conn_stream *cs)
|
|||||||
return (cs_strm(cs) ? cs->si : NULL);
|
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)
|
static inline const char *cs_get_data_name(const struct conn_stream *cs)
|
||||||
{
|
{
|
||||||
if (!cs || !cs->data_cb)
|
if (!cs || !cs->data_cb)
|
||||||
|
Loading…
Reference in New Issue
Block a user