diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2011-07-05 00:58:28 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2011-07-05 00:58:28 +0000 |
commit | 8a934db741897bca19a31dc3edf6c50b3f780169 (patch) | |
tree | c48fded5ef894fed4b2822cb195f506612b11e81 /sys/net/if.c | |
parent | 87f98e28c34a2ae86af8f58d4809ac8976f2c703 (diff) |
now of course I only noticed if_qflush is completely unused after
adjusting it to the new world order in my tree... remove it, ok ryan claudio
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 07b3500611b..6c3b90020a1 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.235 2011/07/04 22:53:53 tedu Exp $ */ +/* $OpenBSD: if.c,v 1.236 2011/07/05 00:58:27 henning Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -1168,24 +1168,6 @@ if_link_state_change(struct ifnet *ifp) } /* - * Flush an interface queue. - */ -void -if_qflush(struct ifqueue *ifq) -{ - struct mbuf *m, *n; - - n = ifq->ifq_head; - while ((m = n) != NULL) { - n = m->m_act; - m_freem(m); - } - ifq->ifq_head = 0; - ifq->ifq_tail = 0; - ifq->ifq_len = 0; -} - -/* * Handle interface watchdog timer routines. Called * from softclock, we decrement timers (if set) and * call the appropriate interface routine on expiration. |