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/arch/luna88k/dev/mb89352.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/arch/luna88k/dev/mb89352.c')
-rw-r--r-- | sys/arch/luna88k/dev/mb89352.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/luna88k/dev/mb89352.c b/sys/arch/luna88k/dev/mb89352.c index 49a7a98b9ba..cdf1e181d7a 100644 --- a/sys/arch/luna88k/dev/mb89352.c +++ b/sys/arch/luna88k/dev/mb89352.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mb89352.c,v 1.14 2010/06/26 23:24:43 guenther Exp $ */ +/* $OpenBSD: mb89352.c,v 1.15 2010/06/28 18:31:01 krw Exp $ */ /* $NetBSD: mb89352.c,v 1.5 2000/03/23 07:01:31 thorpej Exp $ */ /* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */ @@ -176,13 +176,6 @@ void spc_print_active_acb(void); extern struct cfdriver spc_cd; -struct scsi_device spc_dev = { - NULL, /* Use default error handler */ - NULL, /* have a queue, served by this */ - NULL, /* have no async handler */ - NULL, /* Use default 'done' routine */ -}; - /* * INITIALIZATION ROUTINES (probe, attach ++) */ @@ -221,7 +214,6 @@ spc_attach(sc, adapter) sc->sc_link.adapter_softc = sc; sc->sc_link.adapter_target = sc->sc_initiator; sc->sc_link.adapter = adapter; - sc->sc_link.device = &spc_dev; sc->sc_link.openings = 2; bzero(&saa, sizeof(saa)); |