diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2014-12-07 07:28:56 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-01-07 12:53:51 -0500 |
commit | a61a141db8b384456ca7f3c8762e81f236c93aa1 (patch) | |
tree | cc5266ae5b514cbe2fda2cc88ec4a9f37b4d7d6c | |
parent | 25644f8e7f84ec6b235ccc6d48f278f7c1410d0f (diff) |
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 <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap1/timer32k.c | 5 |
1 files changed, 0 insertions, 5 deletions
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) | |||
91 | omap_writew(val, OMAP1_32K_TIMER_BASE + reg); | 91 | omap_writew(val, OMAP1_32K_TIMER_BASE + reg); |
92 | } | 92 | } |
93 | 93 | ||
94 | static inline unsigned long omap_32k_timer_read(int reg) | ||
95 | { | ||
96 | return omap_readl(OMAP1_32K_TIMER_BASE + reg) & 0xffffff; | ||
97 | } | ||
98 | |||
99 | static inline void omap_32k_timer_start(unsigned long load_val) | 94 | static inline void omap_32k_timer_start(unsigned long load_val) |
100 | { | 95 | { |
101 | if (!load_val) | 96 | if (!load_val) |