diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-06-28 18:31:03 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-06-28 18:31:03 +0000 |
commit | 32d204697861b907520e94f82e392d3e7d6d661a (patch) | |
tree | 7bad5a228621b81780b7712982b6a979ce2df424 /sys/dev/ic/oosiop.c | |
parent | 12135c2c16aaab7651a7b1c48ed35586452fadcc (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/oosiop.c')
-rw-r--r-- | sys/dev/ic/oosiop.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/ic/oosiop.c b/sys/dev/ic/oosiop.c index 28d46e3eed4..5f922ff3448 100644 --- a/sys/dev/ic/oosiop.c +++ b/sys/dev/ic/oosiop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: oosiop.c,v 1.16 2010/05/19 15:27:35 oga Exp $ */ +/* $OpenBSD: oosiop.c,v 1.17 2010/06/28 18:31:02 krw Exp $ */ /* $NetBSD: oosiop.c,v 1.4 2003/10/29 17:45:55 tsutsui Exp $ */ /* @@ -135,13 +135,6 @@ struct scsi_adapter oosiop_adapter = { NULL }; -struct scsi_device oosiop_dev = { - NULL, - NULL, - NULL, - NULL -}; - void oosiop_attach(struct oosiop_softc *sc) { @@ -242,7 +235,6 @@ oosiop_attach(struct oosiop_softc *sc) */ sc->sc_link.adapter = &oosiop_adapter; sc->sc_link.adapter_softc = sc; - sc->sc_link.device = &oosiop_dev; sc->sc_link.openings = 1; /* XXX */ sc->sc_link.adapter_buswidth = OOSIOP_NTGT; sc->sc_link.adapter_target = sc->sc_id; |