diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-06-29 18:53:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-06-29 18:53:39 +0000 |
commit | 3ae365e7842d359ad8824dbdc801fc3278c7f36c (patch) | |
tree | e7f756b35f6b10f43ae4f16506da69f633405d43 | |
parent | 8b717f92338a112df348755f82a3d8006470019c (diff) |
the data which is read is never used; ok krw
-rw-r--r-- | sys/dev/pci/isp_pci.c | 5 |
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) { |