From 9f01990d4c8092e63ca74a8adcc926a8e143904c Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 16 Oct 2005 20:44:18 +0000 Subject: Use new (inline) functions for calls into driver. --- sys/netgraph/ng_tty.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/netgraph/ng_tty.c') 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. */ -- cgit v1.1