diff options
Diffstat (limited to 'sys/dev/syscons/syscons.c')
-rw-r--r-- | sys/dev/syscons/syscons.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 552aacd..0bf5e37 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -358,13 +358,6 @@ sc_attach_unit(int unit, int flags) EVENTHANDLER_REGISTER(shutdown_pre_sync, scshutdown, (void *)(uintptr_t)unit, SHUTDOWN_PRI_DEFAULT); - /* - * syscons's cdevsw must be registered from here. As syscons and - * pcvt share the same major number, their cdevsw cannot be - * registered at module loading/initialization time or by SYSINIT. - */ - cdevsw_add(&sc_cdevsw); /* XXX do this just once... */ - for (vc = 0; vc < sc->vtys; vc++) { dev = make_dev(&sc_cdevsw, vc + unit * MAXCONS, UID_ROOT, GID_WHEEL, 0600, "ttyv%r", vc + unit * MAXCONS); |