summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-29 18:53:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-29 18:53:39 +0000
commit3ae365e7842d359ad8824dbdc801fc3278c7f36c (patch)
treee7f756b35f6b10f43ae4f16506da69f633405d43
parent8b717f92338a112df348755f82a3d8006470019c (diff)
the data which is read is never used; ok krw
-rw-r--r--sys/dev/pci/isp_pci.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pci/isp_pci.c b/sys/dev/pci/isp_pci.c
index 9593564d3f7..a15f6cf03b3 100644
--- a/sys/dev/pci/isp_pci.c
+++ b/sys/dev/pci/isp_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isp_pci.c,v 1.50 2009/06/29 18:53:01 deraadt Exp $ */
+/* $OpenBSD: isp_pci.c,v 1.51 2009/06/29 18:53:38 deraadt Exp $ */
/* $FreeBSD: src/sys/dev/isp/isp_pci.c,v 1.148 2007/06/26 23:08:57 mjacob Exp $*/
/*-
* Copyright (c) 1997-2006 by Matthew Jacob
@@ -655,7 +655,6 @@ isp_pci_attach(struct device *parent, struct device *self, void *aux)
}
pcs->pci_poff[MBOX_BLOCK >> _BLK_REG_SHFT] =
PCI_MBOX_REGS2100_OFF;
- data = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_CLASS_REG);
#ifdef __sparc64__
{
char name[32];
@@ -693,7 +692,6 @@ isp_pci_attach(struct device *parent, struct device *self, void *aux)
}
pcs->pci_poff[MBOX_BLOCK >> _BLK_REG_SHFT] =
PCI_MBOX_REGS2300_OFF;
- data = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_CLASS_REG);
}
if (pa->pa_id == PCI_QLOGIC_ISP2322 ||
pa->pa_id == PCI_QLOGIC_ISP6322) {
@@ -708,7 +706,6 @@ isp_pci_attach(struct device *parent, struct device *self, void *aux)
}
pcs->pci_poff[MBOX_BLOCK >> _BLK_REG_SHFT] =
PCI_MBOX_REGS2300_OFF;
- data = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_CLASS_REG);
}
if (pa->pa_id == PCI_QLOGIC_ISP2422 ||
pa->pa_id == PCI_QLOGIC_ISP2432) {