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/pci/qle.c | |
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/pci/qle.c')
-rw-r--r-- | sys/dev/pci/qle.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/qle.c b/sys/dev/pci/qle.c index 884131d5113..68e5f107024 100644 --- a/sys/dev/pci/qle.c +++ b/sys/dev/pci/qle.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qle.c,v 1.54 2020/06/27 13:37:51 bket Exp $ */ +/* $OpenBSD: qle.c,v 1.55 2020/06/27 14:29:45 krw Exp $ */ /* * Copyright (c) 2013, 2014 Jonathan Matthew <jmatthew@openbsd.org> @@ -677,7 +677,6 @@ qle_attach(struct device *parent, struct device *self, void *aux) sc->sc_link.node_wwn &= ~(0xfULL << 56); } - memset(&saa, 0, sizeof(saa)); saa.saa_sc_link = &sc->sc_link; /* config_found() returns the scsibus attached to us */ |