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/netgraph | |
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/netgraph')
-rw-r--r-- | sys/netgraph/bluetooth/drivers/h4/ng_h4.c | 3 | ||||
-rw-r--r-- | sys/netgraph/ng_tty.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/netgraph/bluetooth/drivers/h4/ng_h4.c b/sys/netgraph/bluetooth/drivers/h4/ng_h4.c index b84244f..0aaf37f 100644 --- a/sys/netgraph/bluetooth/drivers/h4/ng_h4.c +++ b/sys/netgraph/bluetooth/drivers/h4/ng_h4.c @@ -613,8 +613,7 @@ ng_h4_start2(node_p node, hook_p hook, void *arg1, int arg2) * being called in lieu of ttstart and must do what it would. */ - if (sc->tp->t_oproc != NULL) - (*sc->tp->t_oproc)(sc->tp); + tt_oproc(sc->tp); /* * This timeout is needed for operation on a pseudo-tty, because the 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. */ |