diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-06-27 14:29:46 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-06-27 14:29:46 +0000 |
commit | 2a14b9a66e51004850d71cdc11829fe5b650eee1 (patch) | |
tree | 634f3a9a01ef25c5b5f19910f56f341aa788d098 /sys/dev/isa | |
parent | 196ccd2211924ff42ab10c7f9450d48bb933adbe (diff) |
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; /* |