aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2005-03-11 16:26:33 +0000
committerRobert Watson <rwatson@FreeBSD.org>2005-03-11 16:26:33 +0000
commit5fab68b19eb954f2955f7e877006c42c57a487c2 (patch)
treec3b5b9c23ad41ac9c985a0075067f0806e973c5b
parent2dc7d840b7e493be2aeebaa8f44e20d2ef08058b (diff)
downloadsrc-5fab68b19eb954f2955f7e877006c42c57a487c2.tar.gz
src-5fab68b19eb954f2955f7e877006c42c57a487c2.zip
Remove suggestive sx_init() comment in soalloc(). We will have something
like this at some point, but for now it clutters the source.
Notes
Notes: svn path=/head/; revision=143421
-rw-r--r--sys/kern/uipc_socket.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index fbf0d5330b5a..7a17014d88f8 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -155,7 +155,6 @@ soalloc(int mflags)
#endif
SOCKBUF_LOCK_INIT(&so->so_snd, "so_snd");
SOCKBUF_LOCK_INIT(&so->so_rcv, "so_rcv");
- /* sx_init(&so->so_sxlock, "socket sxlock"); */
TAILQ_INIT(&so->so_aiojobq);
mtx_lock(&so_global_mtx);
so->so_gencnt = ++so_gencnt;