Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbppc/virtex/dev evbppc/temac(4): Mark unused func...
details: https://anonhg.NetBSD.org/src/rev/ee2fcd9f0832
branches: trunk
changeset: 362053:ee2fcd9f0832
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Feb 27 11:49:28 2022 +0000
description:
evbppc/temac(4): Mark unused functions as such.
diffstat:
sys/arch/evbppc/virtex/dev/if_temac.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r a6a77f1b80d6 -r ee2fcd9f0832 sys/arch/evbppc/virtex/dev/if_temac.c
--- a/sys/arch/evbppc/virtex/dev/if_temac.c Sun Feb 27 11:40:29 2022 +0000
+++ b/sys/arch/evbppc/virtex/dev/if_temac.c Sun Feb 27 11:49:28 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_temac.c,v 1.18 2021/12/05 02:47:01 msaitoh Exp $ */
+/* $NetBSD: if_temac.c,v 1.19 2022/02/27 11:49:28 riastradh Exp $ */
/*
* Copyright (c) 2006 Jachym Holecek
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_temac.c,v 1.18 2021/12/05 02:47:01 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_temac.c,v 1.19 2022/02/27 11:49:28 riastradh Exp $");
#include <sys/param.h>
@@ -288,14 +288,14 @@
TRACEREG(("%s: %#08x <- %#08x\n", __func__, addr, lo));
}
-static inline void
+static inline void __unused
gmi_write_8(uint32_t addr, uint32_t lo, uint32_t hi)
{
mtidcr(IDCR_HIF_ARG1, hi);
gmi_write_4(addr, lo);
}
-static inline void
+static inline void __unused
gmi_read_8(uint32_t addr, uint32_t *lo, uint32_t *hi)
{
*lo = gmi_read_4(addr);
Home |
Main Index |
Thread Index |
Old Index