summaryrefslogtreecommitdiff
path: root/sys/dev/i2o/ioprbs.c
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/dev/i2o/ioprbs.c
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/dev/i2o/ioprbs.c')
-rw-r--r--sys/dev/i2o/ioprbs.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/i2o/ioprbs.c b/sys/dev/i2o/ioprbs.c
index e2e3d5ca007..bf7e798217c 100644
--- a/sys/dev/i2o/ioprbs.c
+++ b/sys/dev/i2o/ioprbs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ioprbs.c,v 1.20 2010/03/23 01:57:19 krw Exp $ */
+/* $OpenBSD: ioprbs.c,v 1.21 2010/06/28 18:31:01 krw Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -124,10 +124,6 @@ struct scsi_adapter ioprbs_switch = {
ioprbs_scsi_cmd, scsi_minphys, 0, 0,
};
-struct scsi_device ioprbs_dev = {
- NULL, NULL, NULL, NULL
-};
-
#ifdef I2OVERBOSE
static const char *const ioprbs_errors[] = {
"success",
@@ -345,7 +341,6 @@ ioprbs_attach(struct device *parent, struct device *self, void *aux)
/* Fill in the prototype scsi_link. */
sc->sc_link.adapter_softc = sc;
sc->sc_link.adapter = &ioprbs_switch;
- sc->sc_link.device = &ioprbs_dev;
sc->sc_link.openings = 1;
sc->sc_link.adapter_buswidth = 1;
sc->sc_link.adapter_target = 1;