Module Name: src
Committed By: dyoung
Date: Tue Sep 13 18:09:52 UTC 2011
Modified Files:
src/sys/arch/x86/pci: pci_ranges.c
Log Message:
Clean up a bit: delete #if 1 and its corresponding #endif.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/pci/pci_ranges.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/pci/pci_ranges.c
diff -u src/sys/arch/x86/pci/pci_ranges.c:1.1 src/sys/arch/x86/pci/pci_ranges.c:1.2
--- src/sys/arch/x86/pci/pci_ranges.c:1.1 Mon Aug 29 22:46:04 2011
+++ src/sys/arch/x86/pci/pci_ranges.c Tue Sep 13 18:09:52 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_ranges.c,v 1.1 2011/08/29 22:46:04 dyoung Exp $ */
+/* $NetBSD: pci_ranges.c,v 1.2 2011/09/13 18:09:52 dyoung Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_ranges.c,v 1.1 2011/08/29 22:46:04 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_ranges.c,v 1.2 2011/09/13 18:09:52 dyoung Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -120,7 +120,6 @@
bus_addr_t ric_io_top;
};
-#if 1
static bool
io_range_extend(struct range_infer_ctx *ric, const pci_alloc_t *pal)
{
@@ -371,7 +370,6 @@
bus, dev, fun);
}
}
-#endif
static bool
mmio_range_extend(struct range_infer_ctx *ric, const pci_alloc_t *pal)