aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/scd
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2001-11-04 08:54:15 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2001-11-04 08:54:15 +0000
commitd7297990faf822614095097f043753c75b53f19c (patch)
treed1455ce279e8492df63e4ae21aea2884388210e6 /sys/dev/scd
parentd7c95b6e27b2b3f772a5e966920339f4a0559edf (diff)
downloadsrc-d7297990faf822614095097f043753c75b53f19c.tar.gz
src-d7297990faf822614095097f043753c75b53f19c.zip
Don't call cdevsw_add()
Notes
Notes: svn path=/head/; revision=86010
Diffstat (limited to 'sys/dev/scd')
-rw-r--r--sys/dev/scd/scd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c
index 4561d90052e2..fb11abb262d9 100644
--- a/sys/dev/scd/scd.c
+++ b/sys/dev/scd/scd.c
@@ -696,10 +696,6 @@ scd_probe(struct isa_device *dev)
static char namebuf[8+16+8+3];
char *s = namebuf;
int loop_count = 0;
- static int once;
-
- if (!once++)
- cdevsw_add(&scd_cdevsw);
scd_data[unit].flags = SCDPROBING;
scd_data[unit].iobase = dev->id_iobase;