summaryrefslogtreecommitdiff
path: root/sys/dev/i2o/iopsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/i2o/iopsp.c')
-rw-r--r--sys/dev/i2o/iopsp.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/i2o/iopsp.c b/sys/dev/i2o/iopsp.c
index 2572fcfd808..d5357df493b 100644
--- a/sys/dev/i2o/iopsp.c
+++ b/sys/dev/i2o/iopsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iopsp.c,v 1.17 2010/05/20 00:55:17 krw Exp $ */
+/* $OpenBSD: iopsp.c,v 1.18 2010/06/28 18:31:01 krw Exp $ */
/* $NetBSD$ */
/*-
@@ -78,10 +78,6 @@ struct scsi_adapter iopsp_switch = {
iopsp_scsi_cmd, iopspminphys, 0, 0,
};
-struct scsi_device iopsp_dev = {
- NULL, NULL, NULL, NULL
-};
-
void iopsp_adjqparam(struct device *, int);
void iopsp_intr(struct device *, struct iop_msg *, void *);
int iopsp_rescan(struct iopsp_softc *);
@@ -189,7 +185,6 @@ iopsp_attach(struct device *parent, struct device *self, void *aux)
sc->sc_link.adapter_softc = sc;
sc->sc_link.adapter = &iopsp_switch;
sc->sc_link.adapter_target = letoh32(param.p.sci.initiatorid);
- sc->sc_link.device = &iopsp_dev;
sc->sc_link.openings = 1;
sc->sc_link.adapter_buswidth = fcal?
IOPSP_MAX_FCAL_TARGET : param.p.sci.maxdatawidth;