From 90c5fb9bb11ea1c011e1f4ec515a88050712e329 Mon Sep 17 00:00:00 2001 From: Kenjiro Cho Date: Tue, 7 Jan 2003 09:00:35 +0000 Subject: remove the altq classifier code which is replaced by pf and no longer used. ok henning@, deraadt@ --- sys/net/if_atmsubr.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'sys/net/if_atmsubr.c') 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,18 +141,10 @@ 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 */ @@ -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); -- cgit v1.2.3