summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-04-23 21:16:44 (GMT)
committerArnd Bergmann <arnd@arndb.de>2013-04-23 21:25:33 (GMT)
commit405f5e5ee53339cf5d5d1753f8614938b1222562 (patch)
treeee9f6e5723ea60b947b9ff8806b37a54ead7df6d
parentc3e0c873d0653e6e7628b5a8a9fcb3745444ca9e (diff)
downloadlinux-405f5e5ee53339cf5d5d1753f8614938b1222562.tar.xz
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>
-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 d5a13dc..31109cb 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 */