summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2016-10-06 19:09:09 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2016-10-06 19:09:09 +0000
commit52c980444f60d25abfc749a2c71508e2327a7476 (patch)
tree7471c0934e92d18066b4a6db1a0560a8b311bc90 /sys/kern/uipc_socket.c
parentf716d267b01977746f7e5d626e54bdab0ac4ef82 (diff)
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)
{