Explorar o código

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>
Arnd Bergmann %!s(int64=12) %!d(string=hai) anos
pai
achega
405f5e5ee5
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      arch/arm/mach-omap2/timer.c

+ 1 - 3
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 */