summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_upl.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/dev/usb/if_upl.c
parentc867b6d1d4578e50d73dddd2c3fb47bfae7e1475 (diff)
remove the altq classifier code which is replaced by pf and no longer used.
ok henning@, deraadt@
Diffstat (limited to 'sys/dev/usb/if_upl.c')
-rw-r--r--sys/dev/usb/if_upl.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/dev/usb/if_upl.c b/sys/dev/usb/if_upl.c
index 784b33a9a5d..ed1bb59883a 100644
--- a/sys/dev/usb/if_upl.c
+++ b/sys/dev/usb/if_upl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_upl.c,v 1.12 2002/07/29 02:56:56 nate Exp $ */
+/* $OpenBSD: if_upl.c,v 1.13 2003/01/07 09:00:34 kjc Exp $ */
/* $NetBSD: if_upl.c,v 1.19 2002/07/11 21:14:26 augustss Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -1054,25 +1054,18 @@ upl_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst,
struct rtentry *rt0)
{
int s, len, error;
- ALTQ_DECL(struct altq_pktattr pktattr;)
DPRINTFN(10,("%s: %s: enter\n",
USBDEVNAME(((struct upl_softc *)ifp->if_softc)->sc_dev),
__func__));
- /*
- * if the queueing discipline needs packet classification,
- * do it now.
- */
- IFQ_CLASSIFY(&ifp->if_snd, m, dst->sa_family, &pktattr);
-
len = m->m_pkthdr.len;
s = splnet();
/*
* 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);