diff options
author | phk <phk@FreeBSD.org> | 2001-11-04 11:55:19 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-11-04 11:55:19 +0000 |
commit | b1912eb177621cc41350ae1bcfa638cc6cc16f52 (patch) | |
tree | 8d7976a7788dfb8e31713d050af0cb2fbbc6df6e /sys/dev/vinum | |
parent | 0097e8b5ade0f25cdaf3e6dc6705707eda7679d3 (diff) | |
download | FreeBSD-src-b1912eb177621cc41350ae1bcfa638cc6cc16f52.zip FreeBSD-src-b1912eb177621cc41350ae1bcfa638cc6cc16f52.tar.gz |
Don't call cdevsw_{add,remove}().
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r-- | sys/dev/vinum/vinum.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/vinum/vinum.c b/sys/dev/vinum/vinum.c index 8ac6afa..8173f0c 100644 --- a/sys/dev/vinum/vinum.c +++ b/sys/dev/vinum/vinum.c @@ -93,8 +93,6 @@ vinumattach(void *dummy) daemonq = NULL; /* initialize daemon's work queue */ dqend = NULL; - cdevsw_add(&vinum_cdevsw); /* add the cdevsw entry */ - vinum_daemon_dev = make_dev(&vinum_cdevsw, VINUM_DAEMON_DEV, UID_ROOT, @@ -270,7 +268,6 @@ vinum_modevent(module_t mod, modeventtype_t type, void *unused) #endif destroy_dev(vinum_daemon_dev); /* daemon device */ destroy_dev(vinum_super_dev); - cdevsw_remove(&vinum_cdevsw); log(LOG_INFO, "vinum: unloaded\n"); /* tell the world */ return 0; default: |