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; diff --git a/sys/i386/isa/scd.c b/sys/i386/isa/scd.c index 4561d90052e2..fb11abb262d9 100644 --- a/sys/i386/isa/scd.c +++ b/sys/i386/isa/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;