aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2008-12-13 22:05:46 +0000
committerAlexander Motin <mav@FreeBSD.org>2008-12-13 22:05:46 +0000
commit8cc92025680611f57b096c30d2c4063288ef2da9 (patch)
treea7b39439d3d15e347f4cddd5abe178cfa6fc01d6 /sys/netgraph
parent52f644a9e2865dead840cd758566accd586fbabe (diff)
Notes
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_tty.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/netgraph/ng_tty.c b/sys/netgraph/ng_tty.c
index 0e69e77349ba..2fa33fc8005f 100644
--- a/sys/netgraph/ng_tty.c
+++ b/sys/netgraph/ng_tty.c
@@ -114,7 +114,6 @@ static th_getc_poll_t ngt_getc_poll;
static th_rint_t ngt_rint;
static th_rint_bypass_t ngt_rint_bypass;
static th_rint_poll_t ngt_rint_poll;
-static th_close_t ngt_close;
static struct ttyhook ngt_hook = {
.th_getc_inject = ngt_getc_inject,
@@ -122,7 +121,6 @@ static struct ttyhook ngt_hook = {
.th_rint = ngt_rint,
.th_rint_bypass = ngt_rint_bypass,
.th_rint_poll = ngt_rint_poll,
- .th_close = ngt_close,
};
/* Netgraph node type descriptor */
@@ -515,12 +513,3 @@ ngt_rint_poll(struct tty *tp)
return (1);
}
-static void
-ngt_close(struct tty *tp)
-{
- sc_p sc = ttyhook_softc(tp);
-
- /* Must be queued to drop the tty lock */
- ng_rmnode_flags(sc->node, NG_QUEUE);
-}
-