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/scsi | |
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/scsi')
-rw-r--r-- | sys/scsi/mpath.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/scsi/mpath.c b/sys/scsi/mpath.c index 81e5903d0a4..8563f06d65d 100644 --- a/sys/scsi/mpath.c +++ b/sys/scsi/mpath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpath.c,v 1.48 2020/06/24 18:59:30 krw Exp $ */ +/* $OpenBSD: mpath.c,v 1.49 2020/06/27 14:29:45 krw Exp $ */ /* * Copyright (c) 2009 David Gwynne <dlg@openbsd.org> @@ -126,7 +126,6 @@ mpath_attach(struct device *parent, struct device *self, void *aux) sc->sc_link.luns = 1; sc->sc_link.openings = 1024; /* XXX magical */ - bzero(&saa, sizeof(saa)); saa.saa_sc_link = &sc->sc_link; sc->sc_scsibus = (struct scsibus_softc *)config_found(&sc->sc_dev, |