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)
This commit is contained in:
parent
e92f63a277
commit
e79f2d5bfc
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user