From 37a2c8219c6d133f14a90caeb72e40565056a290 Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 18 Nov 1999 06:41:30 +0000 Subject: Remove cdevsw_add() as the make_dev()'s are done in a clone-like fashion. (ie: the next device is created with make_dev as the first is opened and so on) --- sys/kern/tty_pty.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/kern/tty_pty.c') diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c index 539ee0b..0db85f3 100644 --- a/sys/kern/tty_pty.c +++ b/sys/kern/tty_pty.c @@ -813,8 +813,6 @@ static void ptc_drvinit(unused) void *unused; { - cdevsw_add(&pts_cdevsw); - cdevsw_add(&ptc_cdevsw); /* XXX: Gross hack for DEVFS */ ptyinit(0); } -- cgit v1.1