summaryrefslogtreecommitdiff
path: root/sys/dev/vscsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vscsi.c')
-rw-r--r--sys/dev/vscsi.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/vscsi.c b/sys/dev/vscsi.c
index 5ad1613b481..3e9c95acc08 100644
--- a/sys/dev/vscsi.c
+++ b/sys/dev/vscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vscsi.c,v 1.13 2010/06/27 03:34:29 matthew Exp $ */
+/* $OpenBSD: vscsi.c,v 1.14 2010/06/28 18:31:01 krw Exp $ */
/*
* Copyright (c) 2008 David Gwynne <dlg@openbsd.org>
@@ -93,10 +93,6 @@ struct scsi_adapter vscsi_switch = {
NULL
};
-struct scsi_device vscsi_dev = {
- NULL, NULL, NULL, NULL
-};
-
void vscsi_xs_stuffup(struct scsi_xfer *);
@@ -135,7 +131,6 @@ vscsi_attach(struct device *parent, struct device *self, void *aux)
rw_init(&sc->sc_open, DEVNAME(sc));
rw_init(&sc->sc_ccb_polling, DEVNAME(sc));
- sc->sc_link.device = &vscsi_dev;
sc->sc_link.adapter = &vscsi_switch;
sc->sc_link.adapter_softc = sc;
sc->sc_link.adapter_target = 256;