diff options
author | phk <phk@FreeBSD.org> | 2001-11-04 08:58:22 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-11-04 08:58:22 +0000 |
commit | a5f9edc45abbd6f38474751dd2d30eb9d751f116 (patch) | |
tree | 1f26cc7374accb5a09a8b855028b1c1fc442a215 /sys/i386/isa/matcd/matcd.c | |
parent | 98a61a385e29acaa59fd2d42e5c3ee74b0d8b93f (diff) | |
download | FreeBSD-src-a5f9edc45abbd6f38474751dd2d30eb9d751f116.zip FreeBSD-src-a5f9edc45abbd6f38474751dd2d30eb9d751f116.tar.gz |
Don't call cdevsw_add().
Diffstat (limited to 'sys/i386/isa/matcd/matcd.c')
-rw-r--r-- | sys/i386/isa/matcd/matcd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/i386/isa/matcd/matcd.c b/sys/i386/isa/matcd/matcd.c index 0ec1c2e..88ef03e 100644 --- a/sys/i386/isa/matcd/matcd.c +++ b/sys/i386/isa/matcd/matcd.c @@ -1199,10 +1199,7 @@ matcd_probe(struct isa_device *dev) int i,cdrive; unsigned char y; int port = dev->id_iobase; /*Take port hint from config file*/ - static int once; - if (!once++) - cdevsw_add(&matcd_cdevsw); cdrive=nextcontroller; /*Controller defined by pass for now*/ if (nextcontroller==NUMCTRLRS) { printf("matcd%d: - Too many interfaces specified in config\n", |