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: 9417181 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 1716960585 for ; Tue, 8 Nov 2016 11:16:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 090DB286EE for ; Tue, 8 Nov 2016 11:16:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0EC0288B4; Tue, 8 Nov 2016 11:16:50 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8057B286EE for ; Tue, 8 Nov 2016 11:16:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933258AbcKHLQu (ORCPT ); Tue, 8 Nov 2016 06:16:50 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:41081 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932607AbcKHLQt (ORCPT ); Tue, 8 Nov 2016 06:16:49 -0500 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-samsung-soc@vger.kernel.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 Cc: krzk@kernel.org, kgene@kernel.org, thomas.ab@samsung.com, Pankaj Dubey 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.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;