summaryrefslogtreecommitdiff
path: root/sys/dev/ic/adv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/adv.c')
-rw-r--r--sys/dev/ic/adv.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/dev/ic/adv.c b/sys/dev/ic/adv.c
index 5f54e023499..bd56742bc06 100644
--- a/sys/dev/ic/adv.c
+++ b/sys/dev/ic/adv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adv.c,v 1.31 2010/06/26 23:24:44 guenther Exp $ */
+/* $OpenBSD: adv.c,v 1.32 2010/06/28 18:31:01 krw Exp $ */
/* $NetBSD: adv.c,v 1.6 1998/10/28 20:39:45 dante Exp $ */
/*
@@ -93,16 +93,6 @@ struct scsi_adapter adv_switch =
};
-/* the below structure is so we have a default dev struct for out link struct */
-struct scsi_device adv_dev =
-{
- NULL, /* Use default error handler */
- NULL, /* have a queue, served by this */
- NULL, /* have no async handler */
- NULL, /* Use default 'done' routine */
-};
-
-
#define ADV_ABORT_TIMEOUT 2000 /* time to wait for abort (mSec) */
#define ADV_WATCH_TIMEOUT 1000 /* time to wait for watchdog (mSec) */
@@ -523,7 +513,6 @@ adv_attach(sc)
sc->sc_link.adapter_softc = sc;
sc->sc_link.adapter_target = sc->chip_scsi_id;
sc->sc_link.adapter = &adv_switch;
- sc->sc_link.device = &adv_dev;
sc->sc_link.openings = 4;
sc->sc_link.adapter_buswidth = 7;