diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index b0951d3449b3..867e0d9ad283 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;