summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-08-16 21:51:54 +0000
committerimp <imp@FreeBSD.org>2008-08-16 21:51:54 +0000
commit716d0b6a6c2a023eec7be98da99391bba035735a (patch)
tree7ee1677de89e5cc97e58068417532e504bd53539 /sys/dev/pci
parentf8f6317629d7753ec385873bdc93f4550ccc10c9 (diff)
downloadFreeBSD-src-716d0b6a6c2a023eec7be98da99391bba035735a.zip
FreeBSD-src-716d0b6a6c2a023eec7be98da99391bba035735a.tar.gz
Remove useless #if 1.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci_pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c
index cb02911..fcbe3d5 100644
--- a/sys/dev/pci/pci_pci.c
+++ b/sys/dev/pci/pci_pci.c
@@ -464,7 +464,6 @@ pcib_alloc_resource(device_t dev, device_t child, int type, int *rid,
}
} else if (!ok) {
ok = 1; /* subtractive bridge: always ok */
-#if 1
if (pcib_is_nonprefetch_open(sc)) {
if (start < sc->membase && end > sc->memlimit) {
start = sc->membase;
@@ -477,7 +476,6 @@ pcib_alloc_resource(device_t dev, device_t child, int type, int *rid,
end = sc->pmemlimit;
}
}
-#endif
}
if (end < start) {
device_printf(dev, "memory: end (%lx) < start (%lx)\n",
OpenPOWER on IntegriCloud