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/oosiop.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/oosiop.c')
-rw-r--r-- | sys/dev/ic/oosiop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/oosiop.c b/sys/dev/ic/oosiop.c index defa747b5b6..1b07deb1e93 100644 --- a/sys/dev/ic/oosiop.c +++ b/sys/dev/ic/oosiop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: oosiop.c,v 1.26 2020/02/17 02:50:23 krw Exp $ */ +/* $OpenBSD: oosiop.c,v 1.27 2020/06/27 14:29:45 krw Exp $ */ /* $NetBSD: oosiop.c,v 1.4 2003/10/29 17:45:55 tsutsui Exp $ */ /* @@ -267,7 +267,6 @@ oosiop_attach(struct oosiop_softc *sc) sc->sc_link.pool = &sc->sc_iopool; sc->sc_link.quirks = ADEV_NODOORLOCK; - bzero(&saa, sizeof(saa)); saa.saa_sc_link = &sc->sc_link; /* |