CLEANUP: mux: remove the unused "release()" function

In commit 53a4766 ("MEDIUM: connection: start to introduce a mux layer
between xprt and data") we introduced a release() function which ends
up never being used. Let's get rid of it now.
This commit is contained in:
Willy Tarreau 2017-11-10 16:43:05 +01:00
parent 7ce3f09513
commit 28b55c6fed
2 changed files with 0 additions and 2 deletions

View File

@ -296,7 +296,6 @@ struct mux_ops {
void (*shutr)(struct conn_stream *cs, enum cs_shr_mode); /* shutr function */
void (*shutw)(struct conn_stream *cs, enum cs_shw_mode); /* shutw function */
void (*release)(struct connection *conn); /* release all resources allocated by the mux */
struct conn_stream *(*attach)(struct connection *); /* Create and attach a conn_stream to an outgoing connection */
void (*detach)(struct conn_stream *); /* Detach a conn_stream from an outgoing connection, when the request is done */
char name[8]; /* mux layer name, zero-terminated */

View File

@ -3170,7 +3170,6 @@ const struct mux_ops h2_ops = {
.detach = h2_detach,
.shutr = h2_shutr,
.shutw = h2_shutw,
.release = h2_release,
.name = "H2",
};