Module Name: src Committed By: joerg Date: Sun Dec 1 02:53:46 UTC 2013
Modified Files: src/sys/arch/arm/arm32: arm11_pmc.c src/sys/arch/arm/omap: omap2_mputmr.c Log Message: Mark unused inline functions as such. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/arm32/arm11_pmc.c cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/omap/omap2_mputmr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/arm32/arm11_pmc.c diff -u src/sys/arch/arm/arm32/arm11_pmc.c:1.3 src/sys/arch/arm/arm32/arm11_pmc.c:1.4 --- src/sys/arch/arm/arm32/arm11_pmc.c:1.3 Thu Jul 3 06:12:02 2008 +++ src/sys/arch/arm/arm32/arm11_pmc.c Sun Dec 1 02:53:46 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: arm11_pmc.c,v 1.3 2008/07/03 06:12:02 matt Exp $ */ +/* $NetBSD: arm11_pmc.c,v 1.4 2013/12/01 02:53:46 joerg Exp $ */ /* Copyright (c) 2007 Microsoft * All rights reserved. @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: arm11_pmc.c,v 1.3 2008/07/03 06:12:02 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: arm11_pmc.c,v 1.4 2013/12/01 02:53:46 joerg Exp $"); #include "opt_perfctrs.h" #include <sys/types.h> #include <sys/param.h> @@ -82,7 +82,7 @@ arm11_pmc_ccnt_read(void) return val; } -static inline void +__unused static inline void arm11_pmc_ccnt_write(uint32_t val) { __asm volatile ("mcr p15, 0, %0, c15, c12, 1;" :: "r" (val)); Index: src/sys/arch/arm/omap/omap2_mputmr.c diff -u src/sys/arch/arm/omap/omap2_mputmr.c:1.7 src/sys/arch/arm/omap/omap2_mputmr.c:1.8 --- src/sys/arch/arm/omap/omap2_mputmr.c:1.7 Sun Jun 16 17:47:54 2013 +++ src/sys/arch/arm/omap/omap2_mputmr.c Sun Dec 1 02:53:46 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: omap2_mputmr.c,v 1.7 2013/06/16 17:47:54 matt Exp $ */ +/* $NetBSD: omap2_mputmr.c,v 1.8 2013/12/01 02:53:46 joerg Exp $ */ /* * OMAP 2430 GP timers @@ -77,7 +77,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: omap2_mputmr.c,v 1.7 2013/06/16 17:47:54 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: omap2_mputmr.c,v 1.8 2013/12/01 02:53:46 joerg Exp $"); #include "opt_omap.h" #include "opt_cpuoptions.h" @@ -129,7 +129,7 @@ _timer_intr_enb(struct mputmr_softc *sc) bus_space_write_4(sc->sc_iot, sc->sc_ioh, TIER, TIER_OVF_IT_ENA); } -static inline uint32_t +__unused static inline uint32_t _timer_intr_sts(struct mputmr_softc *sc) { return bus_space_read_4(sc->sc_iot, sc->sc_ioh, TISR);