This commit is contained in:
Poul-Henning Kamp 2003-02-26 20:53:28 +00:00
parent 91c8d23722
commit e4d0d8c84a
2 changed files with 0 additions and 3 deletions

View File

@ -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

View File

@ -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;