summaryrefslogtreecommitdiff
path: root/sys/net/if_atmsubr.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_atmsubr.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_atmsubr.c')
-rw-r--r--sys/net/if_atmsubr.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/net/if_atmsubr.c b/sys/net/if_atmsubr.c
index 10157665c38..42ca58844c9 100644
--- a/sys/net/if_atmsubr.c
+++ b/sys/net/if_atmsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_atmsubr.c,v 1.20 2002/06/30 14:09:32 art Exp $ */
+/* $OpenBSD: if_atmsubr.c,v 1.21 2003/01/07 09:00:33 kjc Exp $ */
/*
*
@@ -141,19 +141,11 @@ atm_output(ifp, m0, dst, rt0)
register struct rtentry *rt;
struct atmllc *atmllc;
u_int32_t atm_flags;
- ALTQ_DECL(struct altq_pktattr pktattr;)
if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING))
senderr(ENETDOWN);
/*
- * if the queueing discipline needs packet classification,
- * do it before prepending link headers.
- */
- IFQ_CLASSIFY(&ifp->if_snd, m,
- (dst != NULL ? dst->sa_family : AF_UNSPEC), &pktattr);
-
- /*
* check route
*/
if ((rt = rt0) != NULL) {
@@ -265,7 +257,7 @@ atm_output(ifp, m0, dst, rt0)
*/
len = m->m_pkthdr.len;
s = splimp();
- IFQ_ENQUEUE(&ifp->if_snd, m, &pktattr, error);
+ IFQ_ENQUEUE(&ifp->if_snd, m, NULL, error);
if (error) {
splx(s);
return (error);