diff options
author | njl <njl@FreeBSD.org> | 2004-07-12 21:15:36 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-07-12 21:15:36 +0000 |
commit | 7c75fe7d97a399214f3b1f3a6248c2a48658cdfc (patch) | |
tree | 6167b6b21d27ffcd51c659a991d1ded7e74c23e1 /sys/dev | |
parent | 462b2a5e44517ed399d7591368dd987350314cd7 (diff) | |
download | FreeBSD-src-7c75fe7d97a399214f3b1f3a6248c2a48658cdfc.zip FreeBSD-src-7c75fe7d97a399214f3b1f3a6248c2a48658cdfc.tar.gz |
Remove unnecessary softc bzero calls.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/fdc/fdc_isa.c | 1 | ||||
-rw-r--r-- | sys/dev/fdc/fdc_pccard.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/fdc/fdc_isa.c b/sys/dev/fdc/fdc_isa.c index 748fb95..9880423 100644 --- a/sys/dev/fdc/fdc_isa.c +++ b/sys/dev/fdc/fdc_isa.c @@ -65,7 +65,6 @@ fdc_isa_probe(device_t dev) struct fdc_data *fdc; fdc = device_get_softc(dev); - bzero(fdc, sizeof *fdc); fdc->fdc_dev = dev; fdc->fdctl_wr = fdctl_wr_isa; diff --git a/sys/dev/fdc/fdc_pccard.c b/sys/dev/fdc/fdc_pccard.c index 0732806..5e186c6 100644 --- a/sys/dev/fdc/fdc_pccard.c +++ b/sys/dev/fdc/fdc_pccard.c @@ -59,7 +59,6 @@ fdc_pccard_probe(device_t dev) return ENXIO; fdc = device_get_softc(dev); - bzero(fdc, sizeof *fdc); fdc->fdc_dev = dev; fdc->fdctl_wr = fdctl_wr_pcmcia; fdc->flags = FDC_ISPCMCIA | FDC_NODMA; |