Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/broadcom Mark bcmrng_write_4, bcmccb_write_4 an...
details: https://anonhg.NetBSD.org/src/rev/2080797d9d29
branches: trunk
changeset: 325306:2080797d9d29
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Dec 17 13:13:26 2013 +0000
description:
Mark bcmrng_write_4, bcmccb_write_4 and bcmccb_read_4 as unused
diffstat:
sys/arch/arm/broadcom/bcm53xx_ccb.c | 6 +++---
sys/arch/arm/broadcom/bcm53xx_rng.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (49 lines):
diff -r 87b42f4b366c -r 2080797d9d29 sys/arch/arm/broadcom/bcm53xx_ccb.c
--- a/sys/arch/arm/broadcom/bcm53xx_ccb.c Tue Dec 17 13:12:45 2013 +0000
+++ b/sys/arch/arm/broadcom/bcm53xx_ccb.c Tue Dec 17 13:13:26 2013 +0000
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: bcm53xx_ccb.c,v 1.4 2013/10/28 22:51:16 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: bcm53xx_ccb.c,v 1.5 2013/12/17 13:13:26 joerg Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -81,13 +81,13 @@
return QUIET;
}
-static inline uint32_t
+__unused static inline uint32_t
bcmccb_read_4(struct bcmccb_softc *sc, bus_size_t o)
{
return bus_space_read_4(sc->sc_bst, sc->sc_bsh, o);
}
-static inline void
+__unused static inline void
bcmccb_write_4(struct bcmccb_softc *sc, bus_size_t o, uint32_t v)
{
return bus_space_write_4(sc->sc_bst, sc->sc_bsh, o, v);
diff -r 87b42f4b366c -r 2080797d9d29 sys/arch/arm/broadcom/bcm53xx_rng.c
--- a/sys/arch/arm/broadcom/bcm53xx_rng.c Tue Dec 17 13:12:45 2013 +0000
+++ b/sys/arch/arm/broadcom/bcm53xx_rng.c Tue Dec 17 13:13:26 2013 +0000
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: bcm53xx_rng.c,v 1.4 2013/02/01 19:27:47 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: bcm53xx_rng.c,v 1.5 2013/12/17 13:13:26 joerg Exp $");
#include <sys/bus.h>
#include <sys/callout.h>
@@ -97,7 +97,7 @@
return bus_space_read_multi_4(sc->sc_bst, sc->sc_bsh, o, p, c);
}
-static inline void
+__unused static inline void
bcmrng_write_4(struct bcmrng_softc *sc, bus_size_t o, uint32_t v)
{
bus_space_write_4(sc->sc_bst, sc->sc_bsh, o, v);
Home |
Main Index |
Thread Index |
Old Index