summaryrefslogtreecommitdiff
path: root/sys/net/if_arcsubr.c
diff options
context:
space:
mode:
authorKenjiro Cho <kjc@cvs.openbsd.org>2003-01-07 09:00:35 +0000
committerKenjiro Cho <kjc@cvs.openbsd.org>2003-01-07 09:00:35 +0000
commit90c5fb9bb11ea1c011e1f4ec515a88050712e329 (patch)
tree1714800df3407f7f18e59f48905f9303c52a5139 /sys/net/if_arcsubr.c
parentc867b6d1d4578e50d73dddd2c3fb47bfae7e1475 (diff)
remove the altq classifier code which is replaced by pf and no longer used.
ok henning@, deraadt@
Diffstat (limited to 'sys/net/if_arcsubr.c')
-rw-r--r--sys/net/if_arcsubr.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/net/if_arcsubr.c b/sys/net/if_arcsubr.c
index ff375ab77bf..a72c2c07914 100644
--- a/sys/net/if_arcsubr.c
+++ b/sys/net/if_arcsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_arcsubr.c,v 1.13 2002/09/15 16:02:13 niklas Exp $ */
+/* $OpenBSD: if_arcsubr.c,v 1.14 2003/01/07 09:00:33 kjc Exp $ */
/* $NetBSD: if_arcsubr.c,v 1.8 1996/05/07 02:40:29 thorpej Exp $ */
/*
@@ -104,7 +104,6 @@ arc_output(ifp, m0, dst, rt0)
int s, error, newencoding, len;
u_int8_t atype, adst;
int tfrags, sflag, fsflag, rsflag;
- ALTQ_DECL(struct altq_pktattr pktattr;)
if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING))
return (ENETDOWN); /* m, m1 aren't initialized yet */
@@ -137,12 +136,6 @@ arc_output(ifp, m0, dst, rt0)
senderr(rt == rt0 ? EHOSTDOWN : EHOSTUNREACH);
}
- /*
- * if the queueing discipline needs packet classification,
- * do it before prepending link headers.
- */
- IFQ_CLASSIFY(&ifp->if_snd, m, dst->sa_family, &pktattr);
-
switch (dst->sa_family) {
#ifdef INET
case AF_INET:
@@ -222,7 +215,7 @@ arc_output(ifp, m0, dst, rt0)
* Queue message on interface, and start output if
* interface not yet active.
*/
- IFQ_ENQUEUE(&ifp->if_snd, m, &pktattr, error);
+ IFQ_ENQUEUE(&ifp->if_snd, m, NULL, error);
if (error) {
/* mbuf is already freed */
splx(s);