summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_tty.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-10-16 20:44:18 +0000
committerphk <phk@FreeBSD.org>2005-10-16 20:44:18 +0000
commit9f01990d4c8092e63ca74a8adcc926a8e143904c (patch)
tree9229f134f47dbb0ab131ab2a71f4b985ce9f8680 /sys/netgraph/ng_tty.c
parented89346cf3f32d4c1ab74cce53fa42f1baf0d9b9 (diff)
downloadFreeBSD-src-9f01990d4c8092e63ca74a8adcc926a8e143904c.zip
FreeBSD-src-9f01990d4c8092e63ca74a8adcc926a8e143904c.tar.gz
Use new (inline) functions for calls into driver.
Diffstat (limited to 'sys/netgraph/ng_tty.c')
-rw-r--r--sys/netgraph/ng_tty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netgraph/ng_tty.c b/sys/netgraph/ng_tty.c
index 380bcdf..7b8eceb 100644
--- a/sys/netgraph/ng_tty.c
+++ b/sys/netgraph/ng_tty.c
@@ -445,8 +445,7 @@ ngt_start(struct tty *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);
/* This timeout is needed for operation on a pseudo-tty, because the
* pty code doesn't call pppstart after it has drained the t_outq. */
OpenPOWER on IntegriCloud