summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-05-28 11:57:34 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-05-28 11:57:34 +0000
commitfffc7cb0350a8ea7de92303d459ecbc7faf5e64f (patch)
treebff8f1ce1ca8ad82547a3a6776050b0ce602bd8a /sys/net
parentbdbd605a64a960dc2d0decfaccd3e47c1d6c3bab (diff)
Kill unused IF_INPUT_ENQUEUE().
ok dlg@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_var.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index c6945655abe..52abb7eadcf 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_var.h,v 1.30 2015/05/26 11:39:07 mpi Exp $ */
+/* $OpenBSD: if_var.h,v 1.31 2015/05/28 11:57:33 mpi Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
@@ -314,16 +314,6 @@ do { \
} while (!(m) && --if_dequeue_prio >= 0); \
} while (/* CONSTCOND */0)
-#define IF_INPUT_ENQUEUE(ifq, m) \
-do { \
- if (IF_QFULL(ifq)) { \
- IF_DROP(ifq); \
- m_freem(m); \
- if_congestion(); \
- } else \
- IF_ENQUEUE(ifq, m); \
-} while (/* CONSTCOND */0)
-
#define IF_PURGE(ifq) \
do { \
struct mbuf *__m0; \