summaryrefslogtreecommitdiffstats
path: root/sys/net/raw_usrreq.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2016-09-05 15:12:29 +0000
committerclaudio <claudio@openbsd.org>2016-09-05 15:12:29 +0000
commitdd20b3486bfce1ed44e8e2e1c9d29df24fc1bc8f (patch)
tree74f4c7f5c61103ca8ab53c1c93e0e58eaa37ec32 /sys/net/raw_usrreq.c
parentPrint route labels in double quotes since they can contain spaces in the name. (diff)
downloadwireguard-openbsd-dd20b3486bfce1ed44e8e2e1c9d29df24fc1bc8f.tar.xz
wireguard-openbsd-dd20b3486bfce1ed44e8e2e1c9d29df24fc1bc8f.zip
Kill raw_ctlinput() this function is INCOMPLETE since rev 1.1 and is not
needed. All callers using the protosw pr_ctlinput pointer do a NULL check before so there is no need to provide the function.
Diffstat (limited to 'sys/net/raw_usrreq.c')
-rw-r--r--sys/net/raw_usrreq.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/net/raw_usrreq.c b/sys/net/raw_usrreq.c
index 3171b31b59c..ab264d47c99 100644
--- a/sys/net/raw_usrreq.c
+++ b/sys/net/raw_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: raw_usrreq.c,v 1.22 2015/12/05 10:07:55 tedu Exp $ */
+/* $OpenBSD: raw_usrreq.c,v 1.23 2016/09/05 15:12:30 claudio Exp $ */
/* $NetBSD: raw_usrreq.c,v 1.11 1996/02/13 22:00:43 christos Exp $ */
/*
@@ -131,16 +131,6 @@ raw_input(struct mbuf *m0, ...)
m_freem(m);
}
-void *
-raw_ctlinput(int cmd, struct sockaddr *arg, u_int rdomain, void *d)
-{
-
- if (cmd < 0 || cmd >= PRC_NCMDS)
- return NULL;
- return NULL;
- /* INCOMPLETE */
-}
-
int
raw_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam,
struct mbuf *control, struct proc *p)