summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ips.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/ips.c')
-rw-r--r--sys/dev/pci/ips.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/dev/pci/ips.c b/sys/dev/pci/ips.c
index 55257c7aa90..efd515c4f23 100644
--- a/sys/dev/pci/ips.c
+++ b/sys/dev/pci/ips.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ips.c,v 1.98 2010/06/15 04:11:34 dlg Exp $ */
+/* $OpenBSD: ips.c,v 1.99 2010/06/28 18:31:02 krw Exp $ */
/*
* Copyright (c) 2006, 2007, 2009 Alexander Yurchenko <grange@openbsd.org>
@@ -504,13 +504,6 @@ static struct scsi_adapter ips_scsi_adapter = {
ips_scsi_ioctl
};
-static struct scsi_device ips_scsi_device = {
- NULL,
- NULL,
- NULL,
- NULL
-};
-
static struct scsi_adapter ips_scsi_pt_adapter = {
ips_scsi_pt_cmd,
scsi_minphys,
@@ -519,13 +512,6 @@ static struct scsi_adapter ips_scsi_pt_adapter = {
NULL
};
-static struct scsi_device ips_scsi_pt_device = {
- NULL,
- NULL,
- NULL,
- NULL
-};
-
static const struct pci_matchid ips_ids[] = {
{ PCI_VENDOR_IBM, PCI_PRODUCT_IBM_SERVERAID },
{ PCI_VENDOR_IBM, PCI_PRODUCT_IBM_SERVERAID2 },
@@ -743,7 +729,6 @@ ips_attach(struct device *parent, struct device *self, void *aux)
sc->sc_scsi_link.openings = sc->sc_nccbs / sc->sc_nunits;
sc->sc_scsi_link.adapter_target = sc->sc_nunits;
sc->sc_scsi_link.adapter_buswidth = sc->sc_nunits;
- sc->sc_scsi_link.device = &ips_scsi_device;
sc->sc_scsi_link.adapter = &ips_scsi_adapter;
sc->sc_scsi_link.adapter_softc = sc;
@@ -787,7 +772,6 @@ ips_attach(struct device *parent, struct device *self, void *aux)
link->openings = 1;
link->adapter_target = IPS_MAXTARGETS;
link->adapter_buswidth = lastarget + 1;
- link->device = &ips_scsi_pt_device;
link->adapter = &ips_scsi_pt_adapter;
link->adapter_softc = pt;