summaryrefslogtreecommitdiff
path: root/sys/net/if.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2011-07-03 23:12:30 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2011-07-03 23:12:30 +0000
commita1944dc1f6a9bd8737295db8f335793d5f295463 (patch)
tree0ab23185f9de7f1dca22880fd7a1f5ad29dc6fc0 /sys/net/if.h
parentcfa3212f8a38c0cb88d4c2622fe330e02e275d41 (diff)
IFQ_CLASSIFY is also just schrapnel
Diffstat (limited to 'sys/net/if.h')
-rw-r--r--sys/net/if.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index c15c3dc3f8e..3b0ba2aec8f 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.h,v 1.124 2011/07/03 23:05:35 henning Exp $ */
+/* $OpenBSD: if.h,v 1.125 2011/07/03 23:12:29 henning Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
@@ -734,17 +734,6 @@ do { \
((ifq)->altq_flags |= ALTQF_READY); \
} while (/* CONSTCOND */0)
-#define IFQ_CLASSIFY(ifq, m, af, pa) \
-do { \
- if (ALTQ_IS_ENABLED((ifq))) { \
- if (ALTQ_NEEDS_CLASSIFY((ifq))) \
- (pa)->pattr_class = (*(ifq)->altq_classify) \
- ((ifq)->altq_clfier, (m), (af)); \
- (pa)->pattr_af = (af); \
- (pa)->pattr_hdr = mtod((m), caddr_t); \
- } \
-} while (/* CONSTCOND */0)
-
#else /* !ALTQ */
#define IFQ_ENQUEUE(ifq, m, pattr, err) \
@@ -768,8 +757,6 @@ do { \
#define IFQ_SET_READY(ifq) /* nothing */
-#define IFQ_CLASSIFY(ifq, m, af, pa) /* nothing */
-
#endif /* ALTQ */
#define IFQ_IS_EMPTY(ifq) ((ifq)->ifq_len == 0)