mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-06 07:12:42 -04:00
CLEANUP: connection: remove the unused conn_sock_shutw_pending()
This has never been used anywhere.
This commit is contained in:
parent
54e917cfa1
commit
cde5651c4d
1 changed files with 0 additions and 6 deletions
|
|
@ -462,12 +462,6 @@ static inline int conn_data_read0_pending(struct connection *c)
|
|||
return (c->flags & CO_FL_SOCK_RD_SH) != 0;
|
||||
}
|
||||
|
||||
/* detect data->sock shutw transition */
|
||||
static inline int conn_sock_shutw_pending(struct connection *c)
|
||||
{
|
||||
return (c->flags & (CO_FL_DATA_WR_SH | CO_FL_SOCK_WR_SH)) == CO_FL_DATA_WR_SH;
|
||||
}
|
||||
|
||||
/* prepares a connection to work with protocol <proto> and transport <xprt>.
|
||||
* The transport's context is initialized as well.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue