summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_cons.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/tty_cons.c')
-rw-r--r--sys/kern/tty_cons.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c
index b9f9b75..3d441d7 100644
--- a/sys/kern/tty_cons.c
+++ b/sys/kern/tty_cons.c
@@ -635,25 +635,6 @@ cnputc(int c)
}
}
-void
-cndbctl(int on)
-{
- struct cn_device *cnd;
- struct consdev *cn;
- static int refcount;
-
- if (!on)
- refcount--;
- if (refcount == 0)
- STAILQ_FOREACH(cnd, &cn_devlist, cnd_next) {
- cn = cnd->cnd_cn;
- if (cn->cn_dbctl != NULL)
- cn->cn_dbctl(cn, on);
- }
- if (on)
- refcount++;
-}
-
static int consmsgbuf_size = 8192;
SYSCTL_INT(_kern, OID_AUTO, consmsgbuf_size, CTLFLAG_RW, &consmsgbuf_size, 0,
"");
OpenPOWER on IntegriCloud