From 0c8bfb6d004a87cd501c13516a69b3ef59ed6c7c Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 26 Sep 2003 19:35:50 +0000 Subject: OK, I messed up /dev/console with what I had hoped would be compat code. Convert remaining console drivers and hope for the best. --- sys/kern/tty_cons.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sys/kern/tty_cons.c') 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); -- cgit v1.1