From: mpi Date: Tue, 2 Jun 2015 13:23:55 +0000 (+0000) Subject: RIP ether_input_mbuf(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5dbcddf41c6b376bd11938c72aff7d5689d303e4;p=openbsd RIP ether_input_mbuf(). --- diff --git a/sys/net/if.c b/sys/net/if.c index b59a93e2787..fc4a2c07b53 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.335 2015/05/26 11:39:07 mpi Exp $ */ +/* $OpenBSD: if.c,v 1.336 2015/06/02 13:23:55 mpi Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -503,13 +503,6 @@ if_input(struct ifnet *ifp, struct mbuf_list *ml) task_add(softnettq, &if_input_task); } -void -ether_input_mbuf(struct ifnet *ifp, struct mbuf *m) -{ - mq_enqueue(&if_input_queue, m); - task_add(softnettq, &if_input_task); -} - void if_input_process(void *xmq) { diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 52abb7eadcf..bef4cede43c 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_var.h,v 1.31 2015/05/28 11:57:33 mpi Exp $ */ +/* $OpenBSD: if_var.h,v 1.32 2015/06/02 13:23:55 mpi Exp $ */ /* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */ /* @@ -413,7 +413,6 @@ void if_start(struct ifnet *); int if_output(struct ifnet *, struct mbuf *); void if_input(struct ifnet *, struct mbuf_list *); -void ether_input_mbuf(struct ifnet *, struct mbuf *); void ether_ifattach(struct ifnet *); void ether_ifdetach(struct ifnet *); int ether_ioctl(struct ifnet *, struct arpcom *, u_long, caddr_t);