diff options
author | 2010-06-28 18:31:01 +0000 | |
---|---|---|
committer | 2010-06-28 18:31:01 +0000 | |
commit | 8952d2e01a836be8c6602edcd10a105fd837aee4 (patch) | |
tree | 7f8c56b5fcd6e61d834328df10e42768fb7badee /sys/dev/ic/oosiop.c | |
parent | Update the Safe module to version 2.2.7 for CVE-2010-1168 and (diff) | |
download | wireguard-openbsd-8952d2e01a836be8c6602edcd10a105fd837aee4.tar.xz wireguard-openbsd-8952d2e01a836be8c6602edcd10a105fd837aee4.zip |
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; |