diff options
author | 2020-06-30 18:43:36 +0000 | |
---|---|---|
committer | 2020-06-30 18:43:36 +0000 | |
commit | 0fbd355cdf1ba4ea19f7626f983b2b6f4e93e5f3 (patch) | |
tree | 7f5d4e3d3643725c79e44a14b3ea629fffcc8f9e /sys/scsi/ses.c | |
parent | Garbage collect SDEV_S_WAITING, last used in scsi_base.c r1.167 in (diff) | |
download | wireguard-openbsd-0fbd355cdf1ba4ea19f7626f983b2b6f4e93e5f3.tar.xz wireguard-openbsd-0fbd355cdf1ba4ea19f7626f983b2b6f4e93e5f3.zip |
Nuke unneeded 'sa_inqbuf' member of struct scsi_attach_args. It always
points to the inquiry data contained in the struct scsi_link pointed
to by the other member, sa_sc_link.
Diffstat (limited to 'sys/scsi/ses.c')
-rw-r--r-- | sys/scsi/ses.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/ses.c b/sys/scsi/ses.c index c549eda011d..c483534313a 100644 --- a/sys/scsi/ses.c +++ b/sys/scsi/ses.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ses.c,v 1.60 2019/12/07 13:03:57 krw Exp $ */ +/* $OpenBSD: ses.c,v 1.61 2020/06/30 18:43:37 krw Exp $ */ /* * Copyright (c) 2005 David Gwynne <dlg@openbsd.org> @@ -123,7 +123,7 @@ int ses_match(struct device *parent, void *match, void *aux) { struct scsi_attach_args *sa = aux; - struct scsi_inquiry_data *inq = sa->sa_inqbuf; + struct scsi_inquiry_data *inq = &sa->sa_sc_link->inqdata; if (inq == NULL) return 0; |