From patchwork Mon Jun 23 12:00:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4401471 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 815F09F1D6 for ; Mon, 23 Jun 2014 12:03:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7C80720268 for ; Mon, 23 Jun 2014 12:03:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6F2DB2022A for ; Mon, 23 Jun 2014 12:03:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750974AbaFWMDa (ORCPT ); Mon, 23 Jun 2014 08:03:30 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:45652 "EHLO mail-pb0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750820AbaFWMD3 (ORCPT ); Mon, 23 Jun 2014 08:03:29 -0400 Received: by mail-pb0-f45.google.com with SMTP id rr13so5782397pbb.18 for ; Mon, 23 Jun 2014 05:03:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=k5DasfaJMWX53bpGCoNvxHPNPjZD1pE6VCmj/FNBRPA=; b=vSPRYD35LyeJju3SmxJCSSgVhjGAXA2ndQ806Jr1rPNbg1wSarx8zrRgpVNebM6Nql 7ubsWF17VBtIidsJpXmiHX8S+CK1a86373jVbAPDKHc00da6E6qCphlhs7ywnKnVR02N mpsvPnI1hBRYnp6+usvvlv89S6Qi1l0lO+66f2Z8n5Up/3KmP9wkUn57pypRu0grp6eJ liSbpOhO0WbHz2XHuWaPpCR3fT4JR4MFFjREFi0P8rfp2CZH9k/HPfnQEu9YzPniUJXE H5Wi1GCKImP5RbaDBf8HjFaTWRY7xMz9lXEv5iyS6Bn9v8tsExu0Q3CBZ1pZPESyUI3V o+Ig== X-Received: by 10.68.201.68 with SMTP id jy4mr28271290pbc.64.1403525009166; Mon, 23 Jun 2014 05:03:29 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id xd11sm92662635pac.8.2014.06.23.05.03.26 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Jun 2014 05:03:28 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, tomasz.figa@gmail.com Subject: [PATCH 1/1] ARM: EXYNOS: Remove unused code in common.h Date: Mon, 23 Jun 2014 17:30:14 +0530 Message-Id: <1403524814-14735-1-git-send-email-sachin.kamat@samsung.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP PINCTRL_EXYNOS is always selected by Exynos platform in its machine Kconfig. Thus the code in the else part is never used. Remove it. Signed-off-by: Sachin Kamat Reviewed-by: Tomasz Figa --- arch/arm/mach-exynos/common.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h index 1ee91763fa7c..3371669dabc6 100644 --- a/arch/arm/mach-exynos/common.h +++ b/arch/arm/mach-exynos/common.h @@ -125,11 +125,7 @@ void exynos_init_late(void); void exynos_firmware_init(void); -#ifdef CONFIG_PINCTRL_EXYNOS extern u32 exynos_get_eint_wake_mask(void); -#else -static inline u32 exynos_get_eint_wake_mask(void) { return 0xffffffff; } -#endif #ifdef CONFIG_PM_SLEEP extern void __init exynos_pm_init(void);