diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2007-10-20 22:44:02 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2007-10-20 22:44:02 +0000 |
commit | 45db46809d214611bef8e9150cffbffba410244c (patch) | |
tree | d6ea279c4ba913daa7a5cbc3e6f4f16a501bd43c /sys/dev/pci | |
parent | d2177d3f96289a06e7dcb0f1b6f3b6a08e7a9d66 (diff) |
Remove unneeded scope declarations that shadows existing ones. krw@ ok
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/ahd_pci.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/ahd_pci.c b/sys/dev/pci/ahd_pci.c index 110f4eb8f1f..5631122e262 100644 --- a/sys/dev/pci/ahd_pci.c +++ b/sys/dev/pci/ahd_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ahd_pci.c,v 1.15 2006/10/19 10:55:56 tom Exp $ */ +/* $OpenBSD: ahd_pci.c,v 1.16 2007/10/20 22:44:01 fgsch Exp $ */ /* * Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom @@ -482,8 +482,6 @@ ahd_pci_attach(struct device *parent, struct device *self, void *aux) * 64bit bus (PCI64BIT set in devconfig). */ if ((ahd->flags & (AHD_39BIT_ADDRESSING|AHD_64BIT_ADDRESSING)) != 0) { - pcireg_t devconfig; - if (bootverbose) printf("%s: Enabling 39Bit Addressing\n", ahd_name(ahd)); @@ -615,8 +613,6 @@ ahd_pci_test_register_access(struct ahd_softc *ahd) goto fail; if ((ahd_inb(ahd, INTSTAT) & PCIINT) != 0) { - u_int targpcistat; - ahd_set_modes(ahd, AHD_MODE_CFG, AHD_MODE_CFG); targpcistat = ahd_inb(ahd, TARGPCISTAT); if ((targpcistat & STA) != 0) |