summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_cons.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-09-26 19:35:50 +0000
committerphk <phk@FreeBSD.org>2003-09-26 19:35:50 +0000
commit0c8bfb6d004a87cd501c13516a69b3ef59ed6c7c (patch)
treeb043c185e95f23eb60516b39361aaf3ed74ca525 /sys/kern/tty_cons.c
parent62fcef349695e2b63bcd465cb80df34a2bb21b46 (diff)
downloadFreeBSD-src-0c8bfb6d004a87cd501c13516a69b3ef59ed6c7c.zip
FreeBSD-src-0c8bfb6d004a87cd501c13516a69b3ef59ed6c7c.tar.gz
OK, I messed up /dev/console with what I had hoped would be compat
code. Convert remaining console drivers and hope for the best.
Diffstat (limited to 'sys/kern/tty_cons.c')
-rw-r--r--sys/kern/tty_cons.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c
index 10aeaff..a8221a4 100644
--- a/sys/kern/tty_cons.c
+++ b/sys/kern/tty_cons.c
@@ -208,11 +208,6 @@ cnadd(struct consdev *cn)
if (cnd->cnd_cn != NULL)
return (ENOMEM);
cnd->cnd_cn = cn;
- if (cn->cn_name[0] == '\0' && cn->cn_dev != NULL) {
- strcpy(cn->cn_name, devtoname(cn->cn_dev));
- /* XXX: it is unclear if/where this print might output */
- printf("NOTE: console \"%s\" didn't set name\n", cn->cn_name);
- }
if (cn->cn_name[0] == '\0') {
/* XXX: it is unclear if/where this print might output */
printf("WARNING: console at %p has no name\n", cn);
OpenPOWER on IntegriCloud