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/isa | |
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/isa')
-rw-r--r-- | sys/dev/isa/wds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/isa/wds.c b/sys/dev/isa/wds.c index 9c320b3b457..d43972bdba8 100644 --- a/sys/dev/isa/wds.c +++ b/sys/dev/isa/wds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wds.c,v 1.48 2020/02/16 17:39:47 krw Exp $ */ +/* $OpenBSD: wds.c,v 1.49 2020/06/27 14:29:45 krw Exp $ */ /* $NetBSD: wds.c,v 1.13 1996/11/03 16:20:31 mycroft Exp $ */ #undef WDSDIAG @@ -296,7 +296,6 @@ wdsattach(struct device *parent, struct device *self, void *aux) sc->sc_ih = isa_intr_establish(ia->ia_ic, sc->sc_irq, IST_EDGE, IPL_BIO, wdsintr, sc, sc->sc_dev.dv_xname); - bzero(&saa, sizeof(saa)); saa.saa_sc_link = &sc->sc_link; /* |