summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-11-04 08:58:22 +0000
committerphk <phk@FreeBSD.org>2001-11-04 08:58:22 +0000
commita5f9edc45abbd6f38474751dd2d30eb9d751f116 (patch)
tree1f26cc7374accb5a09a8b855028b1c1fc442a215 /sys/dev
parent98a61a385e29acaa59fd2d42e5c3ee74b0d8b93f (diff)
downloadFreeBSD-src-a5f9edc45abbd6f38474751dd2d30eb9d751f116.zip
FreeBSD-src-a5f9edc45abbd6f38474751dd2d30eb9d751f116.tar.gz
Don't call cdevsw_add().
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mcd/mcd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c
index f295a43..8531475 100644
--- a/sys/dev/mcd/mcd.c
+++ b/sys/dev/mcd/mcd.c
@@ -730,10 +730,6 @@ mcd_probe(struct isa_device *dev)
int unit = dev->id_unit;
int i, j;
unsigned char stbytes[3];
- static int once;
-
- if (!once++)
- cdevsw_add(&mcd_cdevsw);
mcd_data[unit].flags = MCDPROBING;
OpenPOWER on IntegriCloud