summaryrefslogtreecommitdiff
path: root/sys/dev/ic/twe.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2020-06-27 14:29:46 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2020-06-27 14:29:46 +0000
commit2a14b9a66e51004850d71cdc11829fe5b650eee1 (patch)
tree634f3a9a01ef25c5b5f19910f56f341aa788d098 /sys/dev/ic/twe.c
parent196ccd2211924ff42ab10c7f9450d48bb933adbe (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/ic/twe.c')
-rw-r--r--sys/dev/ic/twe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/twe.c b/sys/dev/ic/twe.c
index ad17f0b33d3..a327dec2cd7 100644
--- a/sys/dev/ic/twe.c
+++ b/sys/dev/ic/twe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: twe.c,v 1.52 2020/06/24 18:59:30 krw Exp $ */
+/* $OpenBSD: twe.c,v 1.53 2020/06/27 14:29:45 krw Exp $ */
/*
* Copyright (c) 2000-2002 Michael Shalayeff. All rights reserved.
@@ -401,7 +401,6 @@ twe_attach(sc)
sc->sc_link.adapter_buswidth = TWE_MAX_UNITS;
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);