summaryrefslogtreecommitdiffstats
path: root/sys/dev/dgb
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-11-04 09:09:41 +0000
committerphk <phk@FreeBSD.org>2001-11-04 09:09:41 +0000
commit6d85b02e40d1c18573f9c4488b65e74c21a8badd (patch)
tree6e017836441e2617a17cb30527b09f6cf2804366 /sys/dev/dgb
parent77936adc994aa3dd3daceb3bf3c7690c1153847e (diff)
downloadFreeBSD-src-6d85b02e40d1c18573f9c4488b65e74c21a8badd.zip
FreeBSD-src-6d85b02e40d1c18573f9c4488b65e74c21a8badd.tar.gz
Don't call cdevsw_add().
Diffstat (limited to 'sys/dev/dgb')
-rw-r--r--sys/dev/dgb/dgb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/dgb/dgb.c b/sys/dev/dgb/dgb.c
index fa27d31..04663fd 100644
--- a/sys/dev/dgb/dgb.c
+++ b/sys/dev/dgb/dgb.c
@@ -438,10 +438,7 @@ dgbprobe(dev)
int i, v;
u_long win_size; /* size of vizible memory window */
int unit=dev->id_unit;
- static int once;
- if (!once++)
- cdevsw_add(&dgb_cdevsw);
sc->unit=dev->id_unit;
sc->port=dev->id_iobase;
OpenPOWER on IntegriCloud