diff options
author | phk <phk@FreeBSD.org> | 2003-02-26 20:53:28 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-02-26 20:53:28 +0000 |
commit | 30dc6d2ae988fb5d6cf1082973498644c036a3e8 (patch) | |
tree | 35f39a4f9bfc737ba676027acb0842b66cfdc64e /sys/dev | |
parent | 184e8eadf9649cd2a733600aa50d21f9f58ed16c (diff) | |
download | FreeBSD-src-30dc6d2ae988fb5d6cf1082973498644c036a3e8.zip FreeBSD-src-30dc6d2ae988fb5d6cf1082973498644c036a3e8.tar.gz |
msg
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/snp/snp.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |