aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2001-11-04 11:55:19 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2001-11-04 11:55:19 +0000
commit90a13e1e9e7662e99481beb3d7e6d350d04d9c95 (patch)
tree8d7976a7788dfb8e31713d050af0cb2fbbc6df6e /sys
parentefd1585a7a1fc285d89a95fe407938394d5f1595 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/vinum/vinum.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/vinum/vinum.c b/sys/dev/vinum/vinum.c
index 8ac6afada7ff..8173f0c45955 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: