diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-07-11 20:15:53 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-07-11 20:15:53 +0000 |
commit | 77058376e580f54a5366ad6438e9ad86dbfd88f7 (patch) | |
tree | 28b60ad95dca2c51e8491df612957c939cd565be /sys/dev/pv | |
parent | dcdad40242857a0efb6ef872b25f33389c253e54 (diff) |
Garbage collect unused vioscsi_softc member "sc_scsibus".
Diffstat (limited to 'sys/dev/pv')
-rw-r--r-- | sys/dev/pv/vioscsi.c | 5 |
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: |