msg
This commit is contained in:
parent
91c8d23722
commit
e4d0d8c84a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111571
@ -1031,7 +1031,6 @@ targinit(void)
|
||||
{
|
||||
mtx_init(&targ_mtx, "targ global", NULL, MTX_DEF);
|
||||
EVENTHANDLER_REGISTER(dev_clone, targclone, 0, 1000);
|
||||
cdevsw_add(&targ_cdevsw);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -640,7 +640,6 @@ snp_modevent(mod, type, data)
|
||||
/* XXX error checking. */
|
||||
eh_tag = EVENTHANDLER_REGISTER(dev_clone, snp_clone, 0, 1000);
|
||||
snooplinedisc = ldisc_register(LDISC_LOAD, &snpdisc);
|
||||
cdevsw_add(&snp_cdevsw);
|
||||
break;
|
||||
case MOD_UNLOAD:
|
||||
if (!LIST_EMPTY(&snp_sclist))
|
||||
@ -649,7 +648,6 @@ snp_modevent(mod, type, data)
|
||||
if (snpbasedev != NOUDEV)
|
||||
destroy_dev(udev2dev(snpbasedev, 0));
|
||||
ldisc_deregister(snooplinedisc);
|
||||
cdevsw_remove(&snp_cdevsw);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user