diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2016-09-05 15:12:31 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2016-09-05 15:12:31 +0000 |
commit | 4c9f4ca5fb3c951ea4b3baf260d0929bb0cb42c0 (patch) | |
tree | 80640e0cd5e9147c1e06a81ed6b7a2e619a88b29 /sys/net/raw_usrreq.c | |
parent | 32bb854fa0dc7d8129b85acd089fa92ebe9a00bd (diff) |
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.c | 12 |
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) |