From patchwork Tue Nov 8 03:14: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: 9416399 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 ECB006048F for ; Tue, 8 Nov 2016 03:11:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DCC9E26C2F for ; Tue, 8 Nov 2016 03:11:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CFF3C28ACE; Tue, 8 Nov 2016 03:11: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 BFA6926C2F for ; Tue, 8 Nov 2016 03:11:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752499AbcKHDL2 (ORCPT ); Mon, 7 Nov 2016 22:11:28 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:51176 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752328AbcKHDL2 (ORCPT ); Mon, 7 Nov 2016 22:11:28 -0500 Received: from epcpsbgm2new.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OGA01ARUZIOPQA0@mailout4.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 08 Nov 2016 12:11:26 +0900 (KST) X-AuditID: cbfee61b-f796f6d000004092-a1-5821425e8b7a Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 0C.A1.16530.E5241285; Tue, 8 Nov 2016 12:11:26 +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 <0OGA007IMZIU6G00@mmp2.samsung.com>; Tue, 08 Nov 2016 12:11:26 +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: [PATCH v2 2/2] ARM: EXYNOS: Remove unused soc_is_exynos{4,5} Date: Tue, 08 Nov 2016 08:44:24 +0530 Message-id: <1478574864-24683-3-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1478574864-24683-1-git-send-email-pankaj.dubey@samsung.com> References: <1478574864-24683-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrALMWRmVeSWpSXmKPExsVy+t9jQd04J8UIg7dbpSz6H79mtjh/fgO7 xabH11gtZpzfx2SxaOsXdouOZYwObB6bVnWyeWxeUu/Rt2UVo8fnTXIBLFFuNhmpiSmpRQqp ecn5KZl56bZKoSFuuhZKCnmJuam2ShG6viFBSgpliTmlQJ6RARpwcA5wD1bSt0twy7j36QBL wQe2iq/ffjM2ML5j7WLk5JAQMJFYuKyJDcIWk7hwbz2QzcUhJDCLUeLX53Yo5yejxKbzn8A6 2AR0JZ68n8sMYosIeEtMPvOXHcRmFkiXmP/pClADB4ewgKvEwi8FIGEWAVWJpZuWgbXyCnhI /HxzGWqxnMTNc51gYzgFPCV62mYwgthCQDVnOn4wTmDkXcDIsIpRIrUguaA4KT3XKC+1XK84 Mbe4NC9dLzk/dxMjOHSfSe9gPLzL/RCjAAejEg+vw12FCCHWxLLiytxDjBIczEoivHdtFSOE eFMSK6tSi/Lji0pzUosPMZoCHTaRWUo0OR8YV3kl8YYm5ibmxgYW5paWJkZK4ryNs5+FCwmk J5akZqemFqQWwfQxcXBKNTCKZf70WaUolsmnWv/mXj6Pkb201pWEnd17ff45pyvYLhV+8Pym 5rHLv9cqZlz/VTdNm0no1qEfcqIKVgf6Hi7UF9i7ba7YasnXrzgb9l1ddeHNw+jFN7i2VXdu LnBYaF85M6qp3SbVx9blxjXtTcWfqvs0FTIszCI+u1gFTXi88tD8rMvG3fpKLMUZiYZazEXF iQCNmkVZcwIAAA== 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 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;