Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/cavium if 0 out unused code which is currently...
details: https://anonhg.NetBSD.org/src/rev/e8627605b2df
branches: trunk
changeset: 358933:e8627605b2df
user: maya <maya%NetBSD.org@localhost>
date: Tue Jan 23 06:57:49 2018 +0000
description:
if 0 out unused code which is currently breaking my local builds
diffstat:
sys/arch/mips/cavium/octeon_cpunode.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 8db6bf6caffc -r e8627605b2df sys/arch/mips/cavium/octeon_cpunode.c
--- a/sys/arch/mips/cavium/octeon_cpunode.c Tue Jan 23 02:21:49 2018 +0000
+++ b/sys/arch/mips/cavium/octeon_cpunode.c Tue Jan 23 06:57:49 2018 +0000
@@ -29,7 +29,7 @@
#define __INTR_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: octeon_cpunode.c,v 1.11 2018/01/22 21:56:46 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: octeon_cpunode.c,v 1.12 2018/01/23 06:57:49 maya Exp $");
#include "locators.h"
#include "cpunode.h"
@@ -453,10 +453,12 @@
* We need one softint per cpu. It's to tickle the softints on
* other CPUs.
*/
+#if 0 /* XXX unused? */
CPU_INFO_ITERATOR cii;
struct cpu_info *ci;
for (CPU_INFO_FOREACH(cii, ci)) {
}
+#endif
aprint_normal(": default period is %u second%s\n",
sc->sc_wdog_period, sc->sc_wdog_period == 1 ? "" : "s");
Home |
Main Index |
Thread Index |
Old Index