summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_pty.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-11-18 06:41:30 +0000
committerpeter <peter@FreeBSD.org>1999-11-18 06:41:30 +0000
commit37a2c8219c6d133f14a90caeb72e40565056a290 (patch)
tree2425c3ed309ab4c988cc21240c0466784e7801c2 /sys/kern/tty_pty.c
parentf061e9c46f92f23804933e44928fe606ddaa359e (diff)
downloadFreeBSD-src-37a2c8219c6d133f14a90caeb72e40565056a290.zip
FreeBSD-src-37a2c8219c6d133f14a90caeb72e40565056a290.tar.gz
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)
Diffstat (limited to 'sys/kern/tty_pty.c')
-rw-r--r--sys/kern/tty_pty.c2
1 files changed, 0 insertions, 2 deletions
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);
}
OpenPOWER on IntegriCloud