Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/pci Clean up a bit: delete #if 1 and its corres...
details: https://anonhg.NetBSD.org/src/rev/9378d2da6fdf
branches: trunk
changeset: 769541:9378d2da6fdf
user: dyoung <dyoung%NetBSD.org@localhost>
date: Tue Sep 13 18:09:52 2011 +0000
description:
Clean up a bit: delete #if 1 and its corresponding #endif.
diffstat:
sys/arch/x86/pci/pci_ranges.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 1b1da2c0386f -r 9378d2da6fdf sys/arch/x86/pci/pci_ranges.c
--- a/sys/arch/x86/pci/pci_ranges.c Tue Sep 13 18:07:22 2011 +0000
+++ b/sys/arch/x86/pci/pci_ranges.c Tue Sep 13 18:09:52 2011 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index