Don't call cdevsw_add()

This commit is contained in:
phk 2001-11-04 08:54:15 +00:00
parent 8adac62c86
commit 98a61a385e
2 changed files with 0 additions and 8 deletions

View File

@ -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;

View File

@ -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;