ARM: OMAP: remove unused variable
authorArnd Bergmann <arnd@arndb.de>
Tue, 23 Apr 2013 21:16:44 +0000 (23:16 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 23 Apr 2013 21:25:33 +0000 (23:25 +0200)
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>
arch/arm/mach-omap2/timer.c

index d5a13dcb64b80f4d4f095f8075444aadce1abf93..31109cb3f464ab49339542ecabc0f9b5d74cf1db 100644 (file)
@@ -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 */