summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_usrreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
-rw-r--r--sys/kern/uipc_usrreq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c
index f304311..956013a 100644
--- a/sys/kern/uipc_usrreq.c
+++ b/sys/kern/uipc_usrreq.c
@@ -228,7 +228,7 @@ uipc_connect2(struct socket *so1, struct socket *so2)
/* control is EOPNOTSUPP */
-static int
+static void
uipc_detach(struct socket *so)
{
struct unpcb *unp;
@@ -238,7 +238,6 @@ uipc_detach(struct socket *so)
UNP_LOCK();
unp_detach(unp);
UNP_UNLOCK_ASSERT();
- return (0);
}
static int
OpenPOWER on IntegriCloud