Don't call devsw_add().

This commit is contained in:
Poul-Henning Kamp 2001-11-04 09:07:23 +00:00
parent 20a3b67cb2
commit 9f441d5a6d

View File

@ -371,10 +371,6 @@ ascprobe (struct isa_device *isdp)
int unit = isdp->id_unit;
struct asc_unit *scu = unittab + unit;
int stb;
static int once;
if (!once++)
cdevsw_add(&asc_cdevsw);
scu->base = isdp->id_iobase; /*** needed by the following macros ***/
scu->flags = FLAG_DEBUG;