summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/aic79xx_openbsd.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2020-06-27 14:29:44 +0000
committerkrw <krw@openbsd.org>2020-06-27 14:29:44 +0000
commita7997e14b2c5583c85c5c712c73af0f27d80f68b (patch)
treeed05f355cdd5a7f707ed31d2f1bc6178cdca08bc /sys/dev/ic/aic79xx_openbsd.c
parentAdd missing label. (diff)
downloadwireguard-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/aic79xx_openbsd.c')
-rw-r--r--sys/dev/ic/aic79xx_openbsd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/aic79xx_openbsd.c b/sys/dev/ic/aic79xx_openbsd.c
index 95be685f6f8..466bf17ce62 100644
--- a/sys/dev/ic/aic79xx_openbsd.c
+++ b/sys/dev/ic/aic79xx_openbsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic79xx_openbsd.c,v 1.50 2020/02/15 18:02:00 krw Exp $ */
+/* $OpenBSD: aic79xx_openbsd.c,v 1.51 2020/06/27 14:29:44 krw Exp $ */
/*
* Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom
@@ -120,7 +120,6 @@ ahd_attach(struct ahd_softc *ahd)
if (ahd->flags & AHD_RESET_BUS_A)
ahd_reset_channel(ahd, 'A', TRUE);
- bzero(&saa, sizeof(saa));
saa.saa_sc_link = &ahd->sc_channel;
ahd->sc_child = config_found((void *)&ahd->sc_dev, &saa, scsiprint);