summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/osiop.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2010-06-28 18:31:01 +0000
committerkrw <krw@openbsd.org>2010-06-28 18:31:01 +0000
commit8952d2e01a836be8c6602edcd10a105fd837aee4 (patch)
tree7f8c56b5fcd6e61d834328df10e42768fb7badee /sys/dev/ic/osiop.c
parentUpdate the Safe module to version 2.2.7 for CVE-2010-1168 and (diff)
downloadwireguard-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/osiop.c')
-rw-r--r--sys/dev/ic/osiop.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/ic/osiop.c b/sys/dev/ic/osiop.c
index a5665f523b8..57675a2cf1b 100644
--- a/sys/dev/ic/osiop.c
+++ b/sys/dev/ic/osiop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: osiop.c,v 1.44 2010/06/28 04:39:57 dlg Exp $ */
+/* $OpenBSD: osiop.c,v 1.45 2010/06/28 18:31:02 krw Exp $ */
/* $NetBSD: osiop.c,v 1.9 2002/04/05 18:27:54 bouyer Exp $ */
/*
@@ -187,13 +187,6 @@ struct scsi_adapter osiop_adapter = {
NULL,
};
-struct scsi_device osiop_dev = {
- NULL,
- NULL,
- NULL,
- NULL,
-};
-
void
osiop_attach(sc)
struct osiop_softc *sc;
@@ -340,7 +333,6 @@ osiop_attach(sc)
*/
sc->sc_link.adapter = &osiop_adapter;
sc->sc_link.adapter_softc = sc;
- sc->sc_link.device = &osiop_dev;
sc->sc_link.openings = 4;
sc->sc_link.adapter_buswidth = OSIOP_NTGT;
sc->sc_link.adapter_target = sc->sc_id;