summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/timer.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-04-23 23:16:44 +0200
committerArnd Bergmann <arnd@arndb.de>2013-04-23 23:25:33 +0200
commit405f5e5ee53339cf5d5d1753f8614938b1222562 (patch)
treeee9f6e5723ea60b947b9ff8806b37a54ead7df6d /arch/arm/mach-omap2/timer.c
parentc3e0c873d0653e6e7628b5a8a9fcb3745444ca9e (diff)
downloadblackbird-obmc-linux-405f5e5ee53339cf5d5d1753f8614938b1222562.tar.gz
blackbird-obmc-linux-405f5e5ee53339cf5d5d1753f8614938b1222562.zip
ARM: OMAP: remove unused variable
Commit 0583fe478a7 "ARM: convert arm/arm64 arch timer to use CLKSRC_OF init" has left the omap5_realtime_timer_init() function with a stale variable and broken whitespace. This fixes both. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-omap2/timer.c')
-rw-r--r--arch/arm/mach-omap2/timer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
index d5a13dcb64b8..31109cb3f464 100644
--- a/arch/arm/mach-omap2/timer.c
+++ b/arch/arm/mach-omap2/timer.c
@@ -621,12 +621,10 @@ void __init omap4_local_timer_init(void)
#ifdef CONFIG_SOC_OMAP5
void __init omap5_realtime_timer_init(void)
{
- int err;
-
omap4_sync32k_timer_init();
realtime_counter_init();
- clocksource_of_init();
+ clocksource_of_init();
}
#endif /* CONFIG_SOC_OMAP5 */
OpenPOWER on IntegriCloud