From e79f2d5bfcf7860bf8c999a5b257a6463ea9ce86 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Thu, 18 Nov 1999 06:41:30 +0000 Subject: [PATCH] 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(-) diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c index 539ee0bf6541..0db85f3773ab 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); }