summaryrefslogtreecommitdiff
path: root/sys/dev/pv
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2020-07-11 20:15:53 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2020-07-11 20:15:53 +0000
commit77058376e580f54a5366ad6438e9ad86dbfd88f7 (patch)
tree28b60ad95dca2c51e8491df612957c939cd565be /sys/dev/pv
parentdcdad40242857a0efb6ef872b25f33389c253e54 (diff)
Garbage collect unused vioscsi_softc member "sc_scsibus".
Diffstat (limited to 'sys/dev/pv')
-rw-r--r--sys/dev/pv/vioscsi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pv/vioscsi.c b/sys/dev/pv/vioscsi.c
index 76a027e5172..5849d16e54a 100644
--- a/sys/dev/pv/vioscsi.c
+++ b/sys/dev/pv/vioscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vioscsi.c,v 1.20 2020/07/10 19:43:09 krw Exp $ */
+/* $OpenBSD: vioscsi.c,v 1.21 2020/07/11 20:15:52 krw Exp $ */
/*
* Copyright (c) 2013 Google Inc.
*
@@ -50,7 +50,6 @@ struct vioscsi_req {
struct vioscsi_softc {
struct device sc_dev;
struct scsi_link sc_link;
- struct scsibus *sc_scsibus;
struct scsi_iopool sc_iopool;
struct mutex sc_vr_mtx;
@@ -169,7 +168,7 @@ vioscsi_attach(struct device *parent, struct device *self, void *aux)
saa.saa_sc_link = &sc->sc_link;
- sc->sc_scsibus = (struct scsibus *)config_found(self, &saa, scsiprint);
+ config_found(self, &saa, scsiprint);
return;
err: