diff options
author | 2020-06-27 14:29:44 +0000 | |
---|---|---|
committer | 2020-06-27 14:29:44 +0000 | |
commit | a7997e14b2c5583c85c5c712c73af0f27d80f68b (patch) | |
tree | ed05f355cdd5a7f707ed31d2f1bc6178cdca08bc /sys/dev/ic/adw.c | |
parent | Add missing label. (diff) | |
download | wireguard-openbsd-a7997e14b2c5583c85c5c712c73af0f27d80f68b.tar.xz wireguard-openbsd-a7997e14b2c5583c85c5c712c73af0f27d80f68b.zip |
No need to bzero()/memset() 'struct scsibus_attach_args' variables
immediately before initializing the only field in the struct.
Diffstat (limited to 'sys/dev/ic/adw.c')
-rw-r--r-- | sys/dev/ic/adw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/adw.c b/sys/dev/ic/adw.c index 29e65855b04..51866fd9c6a 100644 --- a/sys/dev/ic/adw.c +++ b/sys/dev/ic/adw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adw.c,v 1.61 2020/03/10 22:31:36 krw Exp $ */ +/* $OpenBSD: adw.c,v 1.62 2020/06/27 14:29:44 krw Exp $ */ /* $NetBSD: adw.c,v 1.23 2000/05/27 18:24:50 dante Exp $ */ /* @@ -512,7 +512,6 @@ adw_attach(ADW_SOFTC *sc) sc->sc_link.adapter_buswidth = ADW_MAX_TID+1; sc->sc_link.pool = &sc->sc_iopool; - bzero(&saa, sizeof(saa)); saa.saa_sc_link = &sc->sc_link; config_found(&sc->sc_dev, &saa, scsiprint); |