From patchwork Tue Apr 23 21:23:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2480191 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id C9356DF2E5 for ; Tue, 23 Apr 2013 21:23:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755231Ab3DWVXp (ORCPT ); Tue, 23 Apr 2013 17:23:45 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:65227 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753071Ab3DWVXm (ORCPT ); Tue, 23 Apr 2013 17:23:42 -0400 Received: from klappe2.localnet (HSI-KBW-095-208-002-043.hsi5.kabel-badenwuerttemberg.de [95.208.2.43]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0Meuvx-1UB8GY3sEr-00OYNi; Tue, 23 Apr 2013 23:23:32 +0200 From: Arnd Bergmann To: Rob Herring Subject: [PATCH] ARM: OMAP: remove unused variable Date: Tue, 23 Apr 2013 23:23:27 +0200 User-Agent: KMail/1.12.2 (Linux/3.8.0-18-generic; KDE/4.3.2; x86_64; ; ) Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Russell King , Kukjin Kim , Tony Lindgren , Simon Horman , Magnus Damm , Catalin Marinas , Will Deacon , John Stultz , Thomas Gleixner , linux-samsung-soc@vger.kernel.org, linux-omap@vger.kernel.org, linux-sh@vger.kernel.org References: <1363818875-15978-1-git-send-email-robherring2@gmail.com> In-Reply-To: <1363818875-15978-1-git-send-email-robherring2@gmail.com> MIME-Version: 1.0 Message-Id: <201304232323.27751.arnd@arndb.de> X-Provags-ID: V02:K0:5ZCZFPk4rPW3/cuLiC3KWgTZ6AFQKJFESBqRuDQGF4O VYBh+FoogR5Ge89petYWQkUo798KikET2Vj6jNIBYJ05CnhSh+ R1DqBeRy8RMMYT9fewxkDJ0p1iaL/vhr0cwUMVk+HUTnTDX+dU pb13/9lsfA5VoTemSyRySnFDm4LMTZD4ELHEHXcvwPM8Is+lex bWoP9kWzwTMeCL1qlRzapl3l4bNTZ/Jcc5igqz4sFP1xyrtRJU GdjjJhG4jbvGHqfhTZOrGCVga1N+XE6cuiFOyy1Qmu4vwSD63X fX9Ng1z19zcMe1DP3u+8T2djxGoeiJPIcSOorcwX8QjbQg895l sOfE++aTxHLiCHBDYQak= Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org 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 --- I've applied this patch on top of the timer cleanup series -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 7dd6453..686e498 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c @@ -618,12 +618,10 @@ OMAP_SYS_32K_TIMER_INIT(5, 1, OMAP4_32K_SOURCE, "ti,timer-alwon", 2, OMAP4_MPU_SOURCE); void __init omap5_realtime_timer_init(void) { - int err; - omap5_sync32k_timer_init(); realtime_counter_init(); - clocksource_of_init(); + clocksource_of_init(); } #endif /* CONFIG_SOC_OMAP5 */