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)
Notes
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 4561d90052e2d..fb11abb262d98 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;