Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/macppc/dev shut up another unused function warning
details: https://anonhg.NetBSD.org/src/rev/0ef8adc70c72
branches: trunk
changeset: 346309:0ef8adc70c72
user: macallan <macallan%NetBSD.org@localhost>
date: Wed Jul 06 13:30:42 2016 +0000
description:
shut up another unused function warning
diffstat:
sys/arch/macppc/dev/valkyriefb.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r e3292b495a46 -r 0ef8adc70c72 sys/arch/macppc/dev/valkyriefb.c
--- a/sys/arch/macppc/dev/valkyriefb.c Wed Jul 06 13:28:34 2016 +0000
+++ b/sys/arch/macppc/dev/valkyriefb.c Wed Jul 06 13:30:42 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: valkyriefb.c,v 1.3 2014/02/19 12:28:38 macallan Exp $ */
+/* $NetBSD: valkyriefb.c,v 1.4 2016/07/06 13:30:42 macallan Exp $ */
/*
* Copyright (c) 2012 Michael Lorenz
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: valkyriefb.c,v 1.3 2014/02/19 12:28:38 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: valkyriefb.c,v 1.4 2016/07/06 13:30:42 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -161,11 +161,13 @@
__asm("eieio; sync;");
}
+#ifdef VALKYRIEFB_DEBUG
static inline uint8_t
valkyriefb_read_reg(struct valkyriefb_softc *sc, int reg)
{
return *(sc->sc_base + VAL_REGS_OFFSET + reg);
}
+#endif
static void
valkyriefb_write_cmap(struct valkyriefb_softc *sc,
Home |
Main Index |
Thread Index |
Old Index