summaryrefslogtreecommitdiff
path: root/sys/dev/ic/trm.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/ic/trm.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/ic/trm.c')
-rw-r--r--sys/dev/ic/trm.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/ic/trm.c b/sys/dev/ic/trm.c
index 460a904e314..8788eace01d 100644
--- a/sys/dev/ic/trm.c
+++ b/sys/dev/ic/trm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trm.c,v 1.20 2010/06/19 21:43:16 krw Exp $
+/* $OpenBSD: trm.c,v 1.21 2010/06/28 18:31:02 krw Exp $
* ------------------------------------------------------------
* O.S : OpenBSD
* File Name : trm.c
@@ -139,13 +139,6 @@ struct scsi_adapter trm_switch = {
NULL
};
-static struct scsi_device trm_device = {
- NULL, /* Use default error handler */
- NULL, /* have a queue, served by this */
- NULL, /* have no async handler */
- NULL, /* Use default 'done' routine */
-};
-
/*
* ------------------------------------------------------------
*
@@ -2435,7 +2428,6 @@ trm_initACB(struct trm_softc *sc, int unit)
sc->sc_link.adapter_softc = sc;
sc->sc_link.adapter_target = sc->sc_AdaptSCSIID;
sc->sc_link.openings = 30; /* So TagMask (32 bit integer) always has space */
- sc->sc_link.device = &trm_device;
sc->sc_link.adapter = &sc->sc_adapter;
sc->sc_link.adapter_buswidth = ((sc->sc_config & HCC_WIDE_CARD) == 0) ? 8:16;