diff options
author | phk <phk@FreeBSD.org> | 2001-11-04 11:50:08 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-11-04 11:50:08 +0000 |
commit | 0097e8b5ade0f25cdaf3e6dc6705707eda7679d3 (patch) | |
tree | 33cf07588d8c7cfa69f872adbc4a5fc96aadeb97 /sys/alpha/tlsb | |
parent | 7b8204e021619d1bf1aa4568cfa955c74f972935 (diff) | |
download | FreeBSD-src-0097e8b5ade0f25cdaf3e6dc6705707eda7679d3.zip FreeBSD-src-0097e8b5ade0f25cdaf3e6dc6705707eda7679d3.tar.gz |
Don't call cdevsw_add().
Diffstat (limited to 'sys/alpha/tlsb')
-rw-r--r-- | sys/alpha/tlsb/zs_tlsb.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/alpha/tlsb/zs_tlsb.c b/sys/alpha/tlsb/zs_tlsb.c index 1e5679b..0e0a706 100644 --- a/sys/alpha/tlsb/zs_tlsb.c +++ b/sys/alpha/tlsb/zs_tlsb.c @@ -469,14 +469,9 @@ zsc_tlsb_probe(device_t dev) static int zsc_tlsb_attach(device_t dev) { - static int once = 1; struct zsc_softc *sc = device_get_softc(dev); device_t parent = device_get_parent(dev); - if (once) { - once = 0; - cdevsw_add(&zs_cdevsw); - } bus_generic_attach(dev); /* XXX */ |