diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2014-04-19 12:18:36 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2014-04-19 12:18:36 +0000 |
commit | f97cf22374b15c821a98b02faaf8c224310e975c (patch) | |
tree | a4d8cc4f1ef930dbcb8e0ded0e64adebb7bbef03 /sys/net/ppp_tty.c | |
parent | f450e26d7fbf0e02efd4700118478887cc4215b6 (diff) |
remove very questionable altq "optimization" - claudio and I can't
convince ourselves that that was right to begin with. anyway, begone.
Diffstat (limited to 'sys/net/ppp_tty.c')
-rw-r--r-- | sys/net/ppp_tty.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c index 04155998937..54cc0761c7e 100644 --- a/sys/net/ppp_tty.c +++ b/sys/net/ppp_tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ppp_tty.c,v 1.26 2013/03/28 23:10:05 tedu Exp $ */ +/* $OpenBSD: ppp_tty.c,v 1.27 2014/04/19 12:18:35 henning Exp $ */ /* $NetBSD: ppp_tty.c,v 1.12 1997/03/24 21:23:10 christos Exp $ */ /* @@ -711,15 +711,6 @@ pppstart(struct tty *tp, int force) if (tp->t_oproc != NULL) (*tp->t_oproc)(tp); -#ifdef ALTQ - /* - * if ALTQ is enabled, don't invoke NETISR_PPP. - * pppintr() could loop without doing anything useful - * under rate-limiting. - */ - if (ALTQ_IS_ENABLED(&sc->sc_if.if_snd)) - return 0; -#endif /* * If the transmit queue has drained and the tty has not hung up * or been disconnected from the ppp unit, then tell if_ppp.c that |