summaryrefslogtreecommitdiff
path: root/sys/net/if_strip.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_strip.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_strip.c')
-rw-r--r--sys/net/if_strip.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/net/if_strip.c b/sys/net/if_strip.c
index 825f81fc6ab..f9b31036eba 100644
--- a/sys/net/if_strip.c
+++ b/sys/net/if_strip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_strip.c,v 1.22 2002/09/11 05:38:47 itojun Exp $ */
+/* $OpenBSD: if_strip.c,v 1.23 2003/01/07 09:00:33 kjc Exp $ */
/* $NetBSD: if_strip.c,v 1.2.4.3 1996/08/03 00:58:32 jtc Exp $ */
/* from: NetBSD: if_sl.c,v 1.38 1996/02/13 22:00:23 christos Exp $ */
@@ -717,7 +717,6 @@ stripoutput(ifp, m, dst, rt)
register u_char *dldst; /* link-level next-hop */
int s;
u_char dl_addrbuf[STARMODE_ADDR_LEN+1];
- ALTQ_DECL(struct altq_pktattr pktattr;)
/*
* Verify tty line is up and alive.
@@ -745,11 +744,6 @@ stripoutput(ifp, m, dst, rt)
printf("\n");
}
#endif
- /*
- * 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) {
case AF_INET:
@@ -863,7 +857,7 @@ stripoutput(ifp, m, dst, rt)
error = 0;
}
} else
- IFQ_ENQUEUE(&sc->sc_if.if_snd, m, &pktattr, error);
+ IFQ_ENQUEUE(&sc->sc_if.if_snd, m, NULL, error);
if (error) {
splx(s);
sc->sc_if.if_oerrors++;