diff options
author | phk <phk@FreeBSD.org> | 2005-10-16 20:44:18 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-10-16 20:44:18 +0000 |
commit | 9f01990d4c8092e63ca74a8adcc926a8e143904c (patch) | |
tree | 9229f134f47dbb0ab131ab2a71f4b985ce9f8680 /sys/net/ppp_tty.c | |
parent | ed89346cf3f32d4c1ab74cce53fa42f1baf0d9b9 (diff) | |
download | FreeBSD-src-9f01990d4c8092e63ca74a8adcc926a8e143904c.zip FreeBSD-src-9f01990d4c8092e63ca74a8adcc926a8e143904c.tar.gz |
Use new (inline) functions for calls into driver.
Diffstat (limited to 'sys/net/ppp_tty.c')
-rw-r--r-- | sys/net/ppp_tty.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c index 88a7318..609c58a 100644 --- a/sys/net/ppp_tty.c +++ b/sys/net/ppp_tty.c @@ -735,8 +735,7 @@ pppstart(tp) * Call output process whether or not there is any output. * We are being called in lieu of ttstart and must do what it would. */ - if (tp->t_oproc != NULL) - (*tp->t_oproc)(tp); + tt_oproc(tp); /* * If the transmit queue has drained and the tty has not hung up @@ -844,14 +843,13 @@ pppinput(c, tp) if (c == tp->t_cc[VSTOP] && tp->t_cc[VSTOP] != _POSIX_VDISABLE) { if ((tp->t_state & TS_TTSTOP) == 0) { tp->t_state |= TS_TTSTOP; - tp->t_stop(tp, 0); + tt_stop(tp, 0); } return 0; } if (c == tp->t_cc[VSTART] && tp->t_cc[VSTART] != _POSIX_VDISABLE) { tp->t_state &= ~TS_TTSTOP; - if (tp->t_oproc != NULL) - (*tp->t_oproc)(tp); + tt_oproc(tp); return 0; } } |