diff options
author | marius <marius@FreeBSD.org> | 2005-11-30 16:13:49 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2005-11-30 16:13:49 +0000 |
commit | 49ff09c82e110c659acf21351942138f3e8413ba (patch) | |
tree | e4fc3a19f7694d449134ba982e478102a83fdadf /sys/sparc64 | |
parent | e7cfd42e49f1af1515c80e6af34d7ab9f2e07397 (diff) | |
download | FreeBSD-src-49ff09c82e110c659acf21351942138f3e8413ba.zip FreeBSD-src-49ff09c82e110c659acf21351942138f3e8413ba.tar.gz |
Remove superfluous bzero()'ing of the softc.
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/fhc/clkbrd.c | 1 | ||||
-rw-r--r-- | sys/sparc64/sparc64/eeprom.c | 1 | ||||
-rw-r--r-- | sys/sparc64/sparc64/rtc.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/sys/sparc64/fhc/clkbrd.c b/sys/sparc64/fhc/clkbrd.c index db32c1f..ec2f91e 100644 --- a/sys/sparc64/fhc/clkbrd.c +++ b/sys/sparc64/fhc/clkbrd.c @@ -108,7 +108,6 @@ clkbrd_attach(device_t dev) uint8_t r; sc = device_get_softc(dev); - bzero(sc, sizeof(struct clkbrd_softc)); sc->sc_dev = dev; for (i = CLKBRD_CF; i <= CLKBRD_CLKVER; i++) { diff --git a/sys/sparc64/sparc64/eeprom.c b/sys/sparc64/sparc64/eeprom.c index e6b8955..6839007 100644 --- a/sys/sparc64/sparc64/eeprom.c +++ b/sys/sparc64/sparc64/eeprom.c @@ -127,7 +127,6 @@ eeprom_attach(device_t dev) int error, i, rid; sc = device_get_softc(dev); - bzero(sc, sizeof(struct mk48txx_softc)); mtx_init(&sc->sc_mtx, "eeprom_mtx", NULL, MTX_DEF); diff --git a/sys/sparc64/sparc64/rtc.c b/sys/sparc64/sparc64/rtc.c index be8e009..fd988da 100644 --- a/sys/sparc64/sparc64/rtc.c +++ b/sys/sparc64/sparc64/rtc.c @@ -147,7 +147,6 @@ rtc_attach(device_t dev) int error, rid, rtype; sc = device_get_softc(dev); - bzero(sc, sizeof(struct mc146818_softc)); mtx_init(&sc->sc_mtx, "rtc_mtx", NULL, MTX_SPIN); |