summaryrefslogtreecommitdiffstats
path: root/sys/dev/scd
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-11-04 08:54:15 +0000
committerphk <phk@FreeBSD.org>2001-11-04 08:54:15 +0000
commit98a61a385e29acaa59fd2d42e5c3ee74b0d8b93f (patch)
treed1455ce279e8492df63e4ae21aea2884388210e6 /sys/dev/scd
parent8adac62c86795423239c14a1fe680937902cda6e (diff)
downloadFreeBSD-src-98a61a385e29acaa59fd2d42e5c3ee74b0d8b93f.zip
FreeBSD-src-98a61a385e29acaa59fd2d42e5c3ee74b0d8b93f.tar.gz
Don't call cdevsw_add()
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 4561d90..fb11abb 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;
OpenPOWER on IntegriCloud