From patchwork Wed Nov 9 12:15:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 9419099 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 0A5036022E for ; Wed, 9 Nov 2016 12:13:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F1F8529261 for ; Wed, 9 Nov 2016 12:13:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E702629264; Wed, 9 Nov 2016 12:13:17 +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 94D2A29261 for ; Wed, 9 Nov 2016 12:13:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753749AbcKIMNR (ORCPT ); Wed, 9 Nov 2016 07:13:17 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:59062 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753735AbcKIMNP (ORCPT ); Wed, 9 Nov 2016 07:13:15 -0500 Received: from epcpsbgm1new.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OGD02FTZJA1T550@mailout4.samsung.com> for linux-samsung-soc@vger.kernel.org; Wed, 09 Nov 2016 21:13:13 +0900 (KST) X-AuditID: cbfee61a-f79916d0000062de-7c-582312d92ed3 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id B7.10.25310.9D213285; Wed, 9 Nov 2016 21:13:13 +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 <0OGD0016JJ9DAO40@mmp2.samsung.com>; Wed, 09 Nov 2016 21:13:13 +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 v3 2/2] ARM: EXYNOS: Remove unused soc_is_exynos{4,5} Date: Wed, 09 Nov 2016 17:45:55 +0530 Message-id: <1478693755-11953-3-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1478693755-11953-1-git-send-email-pankaj.dubey@samsung.com> References: <1478693755-11953-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPLMWRmVeSWpSXmKPExsVy+t9jQd2bQsoRBqv/mlv0P37NbHH+/AZ2 i02Pr7FazDi/j8li0dYv7BYdyxgd2Dw2repk89i8pN6jb8sqRo/Pm+QCWKLcbDJSE1NSixRS 85LzUzLz0m2VQkPcdC2UFPISc1NtlSJ0fUOClBTKEnNKgTwjAzTg4BzgHqykb5fglnH6whq2 gg9sFW+nVjcwvmPtYuTkkBAwkfi5cAYjhC0mceHeerYuRi4OIYFZjBI3T7xjh3B+Mkqsa1zJ AlLFJqAr8eT9XGYQW0TAW2Lymb/sIDazQLrE/E9X2EBsYQFXiU0bu5hAbBYBVYllrx6C1fMK eEjsbvgDtVlO4ua5TqA4BwengKfEnakRIGEhoJKv53+yTmDkXcDIsIpRIrUguaA4KT3XMC+1 XK84Mbe4NC9dLzk/dxMjOHCfSe1gPLjL/RCjAAejEg9vBq9yhBBrYllxZe4hRgkOZiUR3g+C QCHelMTKqtSi/Pii0pzU4kOMpkB3TWSWEk3OB0ZVXkm8oYm5ibmxgYW5paWJkZI4b+PsZ+FC AumJJanZqakFqUUwfUwcnFINjGkF+3JLm01PTMnjyfzONadbxif6gU5e1nnun92Ni0Vk7De5 vE43fhGy5J9MfpkyY5NOdsQBmajo3i1xyzc+UKvjZ5aZkjrZN+AD99L/3Em8IiLt13+kfpe5 wCdtoa7i4p616WGRrmup2u58ptmvb87KMA17vUzCqlHDnTPIu3eXi1jXyiVKLMUZiYZazEXF iQCySPqvcgIAAA== 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;