From patchwork Fri Nov 4 03:39:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 9411797 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CBB366022E for ; Fri, 4 Nov 2016 03:38:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C06EA285F2 for ; Fri, 4 Nov 2016 03:38:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B500C2AF28; Fri, 4 Nov 2016 03:38:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3EC2E285F2 for ; Fri, 4 Nov 2016 03:38:55 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c2VJb-0000kf-0m; Fri, 04 Nov 2016 03:37:15 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c2VJN-0000VV-0O for linux-arm-kernel@lists.infradead.org; Fri, 04 Nov 2016 03:37:01 +0000 Received: from epcpsbgm2new.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OG300EYQM0UQP90@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 04 Nov 2016 12:36:39 +0900 (KST) X-AuditID: cbfee61b-f796f6d000004092-f4-581c0247d5c9 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id E7.06.16530.7420C185; Fri, 4 Nov 2016 12:36:39 +0900 (KST) Received: from pankaj.sisodomain.com ([107.108.83.125]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OG300DA1M0PR660@mmp2.samsung.com>; Fri, 04 Nov 2016 12:36:39 +0900 (KST) From: Pankaj Dubey To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/4] ARM: EXYNOS: Remove unused soc_is_exynos{4,5} Date: Fri, 04 Nov 2016 09:09:24 +0530 Message-id: <1478230764-13748-5-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1478230764-13748-1-git-send-email-pankaj.dubey@samsung.com> References: <1478230764-13748-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrALMWRmVeSWpSXmKPExsVy+t9jQV13JpkIgwsvpS36H79mtjh/fgO7 xabH11gtZpzfx2SxaOsXdouOZYwObB6bVnWyeWxeUu/Rt2UVo8fnTXIBLFFuNhmpiSmpRQqp ecn5KZl56bZKoSFuuhZKCnmJuam2ShG6viFBSgpliTmlQJ6RARpwcA5wD1bSt0twy1h6zLtg D1vF0cOzWRsY97N2MXJySAiYSPTNvsMOYYtJXLi3nq2LkYtDSGAWo8SVY+uYIZyfjBIL180G 62AT0JV48n4uM4gtIuAtMfnMX7BuZoF0ifmfrrCB2MICThLtV7azgNgsAqoSxza9YAKxeQU8 JE6eu8cGsU1O4ua5TrA5nAKeEuee9oDVCAHV3Nv6hm0CI+8CRoZVjBKpBckFxUnpuUZ5qeV6 xYm5xaV56XrJ+bmbGMGh+0x6B+PhXe6HGAU4GJV4eDesk44QYk0sK67MPcQowcGsJML7/A9Q iDclsbIqtSg/vqg0J7X4EKMp0GETmaVEk/OBcZVXEm9oYm5ibmxgYW5paWKkJM7bOPtZuJBA emJJanZqakFqEUwfEwenVANjd619lcjc3JfLFh7yPvDz3FL+Wo8ve4UFbflqjqULNzNVN+fK Pe7nYfs3f6IsV5ZM8vTtApEJk5Zse5LlGHyrb+kXyRnPtzk0PjP6ue2yDO+R1cllD2bNdn5v P88/6LHX5FmNDzR+flm/bccUxs3GdhZ8i9dUWp/oajaZ2lGz0iR6uVBY4Y85SizFGYmGWsxF xYkALTJXwnMCAAA= X-MTR: 20000000000000000@CPGS X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161103_203701_246418_20E909E6 X-CRM114-Status: UNSURE ( 8.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pankaj Dubey , kgene@kernel.org, thomas.ab@samsung.com, krzk@kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP As no more user of soc_is_exynos{4,5} we can safely remove them. Signed-off-by: Pankaj Dubey Reviewed-by: Alim Akhtar --- arch/arm/mach-exynos/common.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h index 9424a8a..d19064b 100644 --- a/arch/arm/mach-exynos/common.h +++ b/arch/arm/mach-exynos/common.h @@ -105,11 +105,6 @@ IS_SAMSUNG_CPU(exynos5800, EXYNOS5800_SOC_ID, EXYNOS5_SOC_MASK) # define soc_is_exynos5800() 0 #endif -#define soc_is_exynos4() (soc_is_exynos4210() || soc_is_exynos4212() || \ - soc_is_exynos4412()) -#define soc_is_exynos5() (soc_is_exynos5250() || soc_is_exynos5410() || \ - soc_is_exynos5420() || soc_is_exynos5800()) - extern u32 cp15_save_diag; extern u32 cp15_save_power;