From: Rickard Strandqvist Date: Sun, 7 Dec 2014 12:28:56 +0000 (+0100) Subject: ARM: OMAP1: timer32k.c: Remove unused function X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a61a141db8b384456ca7f3c8762e81f236c93aa1;p=openwrt%2Fstaging%2Fblogic.git ARM: OMAP1: timer32k.c: Remove unused function Remove the function omap_32k_timer_read() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap1/timer32k.c b/arch/arm/mach-omap1/timer32k.c index 107e7ab3edba..36bf174b3fac 100644 --- a/arch/arm/mach-omap1/timer32k.c +++ b/arch/arm/mach-omap1/timer32k.c @@ -91,11 +91,6 @@ static inline void omap_32k_timer_write(int val, int reg) omap_writew(val, OMAP1_32K_TIMER_BASE + reg); } -static inline unsigned long omap_32k_timer_read(int reg) -{ - return omap_readl(OMAP1_32K_TIMER_BASE + reg) & 0xffffff; -} - static inline void omap_32k_timer_start(unsigned long load_val) { if (!load_val)