From patchwork Tue Nov 8 11:19:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 9417187 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 18DB060585 for ; Tue, 8 Nov 2016 11:20:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A25D290DB for ; Tue, 8 Nov 2016 11:20:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F2A82290E0; Tue, 8 Nov 2016 11:20:44 +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 57EC4290F0 for ; Tue, 8 Nov 2016 11:20:43 +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 1c44PP-0000Mi-DJ; Tue, 08 Nov 2016 11:17:43 +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 1c44Or-00007r-Rq for linux-arm-kernel@lists.infradead.org; Tue, 08 Nov 2016 11:17:10 +0000 Received: from epcpsbgm1new.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OGB0263ZLZVLP40@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 08 Nov 2016 20:16:46 +0900 (KST) X-AuditID: cbfee61a-f79916d0000062de-48-5821b41e1d78 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 55.B4.25310.E14B1285; Tue, 8 Nov 2016 20:16:46 +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 <0OGB004SJLZQN5A0@mmp2.samsung.com>; Tue, 08 Nov 2016 20:16:45 +0900 (KST) From: Pankaj Dubey To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [RESPIN-PATCH v2 2/2] ARM: EXYNOS: Remove unused soc_is_exynos{4, 5} Date: Tue, 08 Nov 2016 16:49:44 +0530 Message-id: <1478603984-504-3-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1478603984-504-1-git-send-email-pankaj.dubey@samsung.com> References: <1478603984-504-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPLMWRmVeSWpSXmKPExsVy+t9jQV25LYoRBv8aOC36H79mtjh/fgO7 xabH11gtZpzfx2SxaOsXdouOZYwObB6bVnWyeWxeUu/Rt2UVo8fnTXIBLFFuNhmpiSmpRQqp ecn5KZl56bZKoSFuuhZKCnmJuam2ShG6viFBSgpliTmlQJ6RARpwcA5wD1bSt0twyzh9YQ1b wQe2irdTqxsY37F2MXJySAiYSCztnsYOYYtJXLi3nq2LkYtDSGAWo8TFtffYIZyfjBLzt/eC dbAJ6Eo8eT+XGcQWEfCWmHzmL1g3s0C6xPxPV4C6OTiEBXwk3tytAQmzCKhK/P54iA3E5hVw k1jy5jEbxDI5iZvnOsHGcAq4SzR/u8EEYgsB1TQue8c8gZF3ASPDKkaJ1ILkguKk9FzDvNRy veLE3OLSvHS95PzcTYzgwH0mtYPx4C73Q4wCHIxKPLwdMooRQqyJZcWVuYcYJTiYlUR4kzYA hXhTEiurUovy44tKc1KLDzGaAh02kVlKNDkfGFV5JfGGJuYm5sYGFuaWliZGSuK8jbOfhQsJ pCeWpGanphakFsH0MXFwSjUwsm7wech8e/+767VbxOWc6ndGf3lU76UbdSPj/+e7b6bM2/5I 3ebOpu+KccfCDn4zf/P8b8YGs+oMGX8BjiW+wZv7/xyQW5SsX/ktap+Y56cXTS/WuibtMU7g is0wljwUPJ2TZ4V5YE7bmtm/9ihOPXQjbuqn9pNLknmPJ/5t9a9Kiv5h5yrKoMRSnJFoqMVc VJwIAKWUK0hyAgAA X-MTR: 20000000000000000@CPGS X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161108_031710_157327_BA4E1140 X-CRM114-Status: UNSURE ( 7.88 ) 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 dd5d8e8..fb12d11 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;