diff options
author | peter <peter@FreeBSD.org> | 1999-11-18 06:41:30 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-11-18 06:41:30 +0000 |
commit | 37a2c8219c6d133f14a90caeb72e40565056a290 (patch) | |
tree | 2425c3ed309ab4c988cc21240c0466784e7801c2 /sys/kern/tty_pty.c | |
parent | f061e9c46f92f23804933e44928fe606ddaa359e (diff) | |
download | FreeBSD-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.c | 2 |
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); } |