diff options
-rw-r--r-- | sys/cam/scsi/scsi_target.c | 1 | ||||
-rw-r--r-- | sys/dev/snp/snp.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sys/cam/scsi/scsi_target.c b/sys/cam/scsi/scsi_target.c index 9db2604..4e95c06 100644 --- a/sys/cam/scsi/scsi_target.c +++ b/sys/cam/scsi/scsi_target.c @@ -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 diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index 34e3e29..c68ca4a 100644 --- a/sys/dev/snp/snp.c +++ b/sys/dev/snp/snp.c @@ -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; |