From: henning Date: Sat, 19 Apr 2014 12:18:35 +0000 (+0000) Subject: remove very questionable altq "optimization" - claudio and I can't X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3db1ec2f5745fafa96c61801850fe7c054ca6f5a;p=openbsd remove very questionable altq "optimization" - claudio and I can't convince ourselves that that was right to begin with. anyway, begone. --- 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