summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2016-10-06 19:09:08 +0000
committerbluhm <bluhm@openbsd.org>2016-10-06 19:09:08 +0000
commit1bf96e4c5a3205d8c238b1b17c9f5f96e325fb31 (patch)
treed0f7707b21b996afcb9a2f332fdb1c91bdf86e06 /sys/kern/uipc_socket.c
parentPrint the root check error message to stderr. While there add the name (diff)
downloadwireguard-openbsd-1bf96e4c5a3205d8c238b1b17c9f5f96e325fb31.tar.xz
wireguard-openbsd-1bf96e4c5a3205d8c238b1b17c9f5f96e325fb31.zip
Remove redundant comments that say a function must be called at
splsoftnet() if the function does a splsoftassert(IPL_SOFTNET) anyway.
Diffstat (limited to 'sys/kern/uipc_socket.c')
-rw-r--r--sys/kern/uipc_socket.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index 4ef4aed9fbc..9e8d05f6d90 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_socket.c,v 1.162 2016/10/06 17:02:10 bluhm Exp $ */
+/* $OpenBSD: uipc_socket.c,v 1.163 2016/10/06 19:09:08 bluhm Exp $ */
/* $NetBSD: uipc_socket.c,v 1.21 1996/02/04 02:17:52 christos Exp $ */
/*
@@ -189,10 +189,6 @@ solisten(struct socket *so, int backlog)
return (0);
}
-/*
- * Must be called at splsoftnet()
- */
-
void
sofree(struct socket *so)
{
@@ -284,9 +280,6 @@ discard:
return (error);
}
-/*
- * Must be called at splsoftnet.
- */
int
soabort(struct socket *so)
{