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/sparc64/dev | |
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/sparc64/dev')
-rw-r--r-- | sys/arch/sparc64/dev/vdsk.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/sparc64/dev/vdsk.c b/sys/arch/sparc64/dev/vdsk.c index 9edd75d3a93..80eecb1c9f3 100644 --- a/sys/arch/sparc64/dev/vdsk.c +++ b/sys/arch/sparc64/dev/vdsk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vdsk.c,v 1.23 2010/06/15 04:11:34 dlg Exp $ */ +/* $OpenBSD: vdsk.c,v 1.24 2010/06/28 18:31:01 krw Exp $ */ /* * Copyright (c) 2009 Mark Kettenis * @@ -175,10 +175,6 @@ struct cfdriver vdsk_cd = { NULL, "vdsk", DV_DULL }; -struct scsi_device vdsk_device = { - NULL, NULL, NULL, NULL -}; - int vdsk_tx_intr(void *); int vdsk_rx_intr(void *); @@ -343,7 +339,6 @@ vdsk_attach(struct device *parent, struct device *self, void *aux) sc->sc_switch.dev_probe = vdsk_dev_probe; sc->sc_switch.dev_free = vdsk_dev_free; - sc->sc_link.device = &vdsk_device; sc->sc_link.adapter = &sc->sc_switch; sc->sc_link.adapter_softc = self; sc->sc_link.adapter_buswidth = 2; |