uipc: remove accept_mtx
It is unused since 779f106aa1
("Listening sockets improvements.")
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
4e240e55d8
commit
ebdf27b6f3
@ -251,13 +251,6 @@ static int numopensockets;
|
||||
SYSCTL_INT(_kern_ipc, OID_AUTO, numopensockets, CTLFLAG_RD,
|
||||
&numopensockets, 0, "Number of open sockets");
|
||||
|
||||
/*
|
||||
* accept_mtx locks down per-socket fields relating to accept queues. See
|
||||
* socketvar.h for an annotation of the protected fields of struct socket.
|
||||
*/
|
||||
struct mtx accept_mtx;
|
||||
MTX_SYSINIT(accept_mtx, &accept_mtx, "accept", MTX_DEF);
|
||||
|
||||
/*
|
||||
* so_global_mtx protects so_gencnt, numopensockets, and the per-socket
|
||||
* so_gencnt field.
|
||||
|
Loading…
Reference in New Issue
Block a user