summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-03-11 19:16:02 +0000
committerrwatson <rwatson@FreeBSD.org>2005-03-11 19:16:02 +0000
commit64ec74a458097be78bfa22a217e751835656adea (patch)
treedc8a2ea23dbc264d019e2016e643c0343a1dc54a /sys/kern/uipc_socket.c
parent741caa30172b56b757063e03baf15426a1d62f34 (diff)
downloadFreeBSD-src-64ec74a458097be78bfa22a217e751835656adea.zip
FreeBSD-src-64ec74a458097be78bfa22a217e751835656adea.tar.gz
Remove an additional commented out reference to a possible future sx
lock.
Diffstat (limited to 'sys/kern/uipc_socket.c')
-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 b0951d3..867e0d9 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -261,7 +261,6 @@ sodealloc(struct socket *so)
crfree(so->so_cred);
SOCKBUF_LOCK_DESTROY(&so->so_snd);
SOCKBUF_LOCK_DESTROY(&so->so_rcv);
- /* sx_destroy(&so->so_sxlock); */
uma_zfree(socket_zone, so);
mtx_lock(&so_global_mtx);
--numopensockets;
OpenPOWER on IntegriCloud