summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ciss.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/ciss.c')
-rw-r--r--sys/dev/ic/ciss.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/ic/ciss.c b/sys/dev/ic/ciss.c
index 74a9d090a4f..1e8c8782c4a 100644
--- a/sys/dev/ic/ciss.c
+++ b/sys/dev/ic/ciss.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ciss.c,v 1.56 2010/06/26 22:14:32 krw Exp $ */
+/* $OpenBSD: ciss.c,v 1.57 2010/06/28 18:31:02 krw Exp $ */
/*
* Copyright (c) 2005,2006 Michael Shalayeff
@@ -76,10 +76,6 @@ struct scsi_adapter ciss_switch = {
ciss_scsi_cmd, cissminphys, NULL, NULL, ciss_scsi_ioctl
};
-struct scsi_device ciss_dev = {
- NULL, NULL, NULL, NULL
-};
-
#if NBIO > 0
int ciss_ioctl(struct device *, u_long, caddr_t);
#endif
@@ -367,7 +363,6 @@ ciss_attach(struct ciss_softc *sc)
return -1;
}
- sc->sc_link.device = &ciss_dev;
sc->sc_link.adapter_softc = sc;
sc->sc_link.openings = sc->maxcmd / (sc->maxunits? sc->maxunits : 1);
sc->sc_link.adapter = &ciss_switch;