summaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-06-28 18:31:03 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-06-28 18:31:03 +0000
commit32d204697861b907520e94f82e392d3e7d6d661a (patch)
tree7bad5a228621b81780b7712982b6a979ce2df424 /sys/scsi
parent12135c2c16aaab7651a7b1c48ed35586452fadcc (diff)
Remove all adapter-specific 'struct scsi_device's. They are never used. First
step in elminating 'struct scsi_device' entirely. Spotted and initial diff from matthew@. ok matthew@ dlg@ deraadt@ marco@ miod@
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/mpath.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/scsi/mpath.c b/sys/scsi/mpath.c
index bdd9eb9d5a7..b6968beb068 100644
--- a/sys/scsi/mpath.c
+++ b/sys/scsi/mpath.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath.c,v 1.15 2010/06/27 03:34:29 matthew Exp $ */
+/* $OpenBSD: mpath.c,v 1.16 2010/06/28 18:31:02 krw Exp $ */
/*
* Copyright (c) 2009 David Gwynne <dlg@openbsd.org>
@@ -87,10 +87,6 @@ struct scsi_adapter mpath_switch = {
NULL
};
-struct scsi_device mpath_dev = {
- NULL, NULL, NULL, NULL
-};
-
void mpath_xs_stuffup(struct scsi_xfer *);
int
@@ -109,7 +105,6 @@ mpath_attach(struct device *parent, struct device *self, void *aux)
printf("\n");
- sc->sc_link.device = &mpath_dev;
sc->sc_link.adapter = &mpath_switch;
sc->sc_link.adapter_softc = sc;
sc->sc_link.adapter_target = MPATH_BUSWIDTH;