Mark bcmrng_write_4, bcmccb_write_4 and bcmccb_read_4 as unused

This commit is contained in:
joerg 2013-12-17 13:13:26 +00:00
parent df74496f3d
commit e6e0935156
2 changed files with 5 additions and 5 deletions

View File

@ -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 @@ bcmccb_print(void *aux, const char *pnp)
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);

View File

@ -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 @@ bcmrng_read_multi_4(struct bcmrng_softc *sc, bus_size_t o, uint32_t *p,
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);