Message ID | 20181008125009.3721-2-m.szyprowski@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 81A0516B1 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 8 Oct 2018 12:54:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7148028AD3 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 8 Oct 2018 12:54:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6515728B09; Mon, 8 Oct 2018 12:54:23 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C78EF28AD3 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 8 Oct 2018 12:54:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-reply-to:Message-id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=5V+Jt7UM5gfnPtOHbSvP1vQXlMs0PzLPYaq++2pm3iE=; b=aX4ADpQqSAzoiUIEecL2a1Fhk+ MtiTl6qPwZGOLBhnXRx7vK8a7XLGfEZ6Ru3zuabb70JWsqRjpN1h7MerYwnXdYIUzTNuLNsPdJK1a pIBcGWzOnV+eRMSGz1IKRXZ4DSmGXBWUk/p1qu3eEmWpiGVEqfNG0UXz7leNdnKT1tx+kXel+bYQO tlRnH9ngDut6uGIqreHpoAi7BPLSPWHm1Q/SmEmRHr8wa/zgDn8QuDt555e3olfxjjQPL5RsCk9bd ZFNwqQU68e/m9dg1+O7z8shM3+bz64rlG/SzERv0MuPfhFeIRdY8viFlYgubhVrv+aRVFhZ2XW9W/ RDvSlJPQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V32-0005N1-RB; Mon, 08 Oct 2018 12:54:08 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V03-0003t5-KW for linux-arm-kernel@lists.infradead.org; Mon, 08 Oct 2018 12:51:54 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181008125048euoutp014a0d12f7bb8dc315a43a4603cfe32a45~box5Bo2fj1891918919euoutp01Z; Mon, 8 Oct 2018 12:50:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181008125048euoutp014a0d12f7bb8dc315a43a4603cfe32a45~box5Bo2fj1891918919euoutp01Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539003048; bh=PGPFJzJpmURqr/aQZntB233XqnYePEIvAeWG3Km56PI=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=jI+mt7WH4aCnwyDgeeKxliFIUgvD//IvsiXFPIsa43YfqkKIjpSLeEm1095KG7Jfz E+4epUC6SLcBz6t47MmcPifUBp6PUUC0szxZamx0DAzFLgyZxjl8B9m0W2WRYRXdMm N3r8to2+CJJek5Tk+EXyT5qGQC2z2dQNjnchBlsI= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181008125047eucas1p1df616ca4698694aacea53e84a545af55~box4cyxIj1752717527eucas1p1Y; Mon, 8 Oct 2018 12:50:47 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id D5.21.04806.7A25BBB5; Mon, 8 Oct 2018 13:50:47 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181008125046eucas1p1e0304c8c22a4ac128a8e507c86442a37~box3wpAIt0610606106eucas1p1P; Mon, 8 Oct 2018 12:50:46 +0000 (GMT) X-AuditID: cbfec7f5-79db79c0000012c6-7c-5bbb52a73cda Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id BB.99.04284.6A25BBB5; Mon, 8 Oct 2018 13:50:46 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PGA006EA6BYW230@eusync1.samsung.com>; Mon, 08 Oct 2018 13:50:46 +0100 (BST) From: Marek Szyprowski <m.szyprowski@samsung.com> To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/7] clocksource: exynos_mct: Remove dead code Date: Mon, 08 Oct 2018 14:50:03 +0200 Message-id: <20181008125009.3721-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181008125009.3721-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAA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xpKrPF y48nWBx4PdbMW8PosWlVJ5vHnWt72DzenTvH7rF5Sb1H35ZVjB6fN8kFsEdx2aSk5mSWpRbp 2yVwZbRvmc5YcJSt4uGSO0wNjFtYuxg5OSQETCS+LvrP2MXIxSEksIRRYv7C9awQThOTxMZr E9hAqtgEDCW63naB2SIC2RLz93azg9jMAkuYJW7edwCxhQXsJI7cnwVWwyKgKrF8wTswm1fA RmLq0lVMENvkJVZvOMAMYnMK2Eo86VrFAmILAdX0Tr/IOoGRZwEjwypGkdTS4tz03GJDveLE 3OLSvHS95PzcTYzAQNx27OfmHYyXNgYfYhTgYFTi4Q3w2xUtxJpYVlyZe4hRgoNZSYRXdDtQ iDclsbIqtSg/vqg0J7X4EKM0B4uSOO95g8ooIYH0xJLU7NTUgtQimCwTB6dUA2PRqQfr2P7/ nr3Y111m76+PGtJir05u+9rmc+hRwZPXFbNmzJeatkni0a8fh0qZuq31vB1WdX9cYNMhLbe7 rvb5lmf82nGxm4s2H5c8nilws+GVXtbemEL5zStNnRm3hFxpu/RogbLs8ZW+q2LzlJ9e1vjG xfRW9+8sjofLzyXP5NvQw2vpyWesxFKckWioxVxUnAgA8PjnVEACAAA= X-CMS-MailID: 20181008125046eucas1p1e0304c8c22a4ac128a8e507c86442a37 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181008125046eucas1p1e0304c8c22a4ac128a8e507c86442a37 References: <20181008125009.3721-1-m.szyprowski@samsung.com> <CGME20181008125046eucas1p1e0304c8c22a4ac128a8e507c86442a37@eucas1p1.samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181008_055103_850066_C2A088BC X-CRM114-Status: GOOD ( 13.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Marc Zyngier <marc.zyngier@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Daniel Lezcano <daniel.lezcano@linaro.org>, Will Deacon <will.deacon@arm.com>, Krzysztof Kozlowski <krzk@kernel.org>, Inki Dae <inki.dae@samsung.com>, Chanwoo Choi <cw00.choi@samsung.com>, Thomas Gleixner <tglx@linutronix.de>, Marek Szyprowski <m.szyprowski@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[1/7] clocksource: exynos_mct: Remove dead code
|
expand
|
On Mon, 8 Oct 2018 at 14:50, Marek Szyprowski <m.szyprowski@samsung.com> wrote: > > Exynos Multi-Core Timer driver is used only on device-tree based > systems, so remove non-dt related code. You can also mention that in case of !CONFIG_OF the code is anyway equal because of_irq_count() has a stub returning 0. Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Best regards, Krzysztof
diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c index 7a244b681876..43b335ff4a96 100644 --- a/drivers/clocksource/exynos_mct.c +++ b/drivers/clocksource/exynos_mct.c @@ -581,11 +581,7 @@ static int __init mct_init_dt(struct device_node *np, unsigned int int_type) * timer irqs are specified after the four global timer * irqs are specified. */ -#ifdef CONFIG_OF nr_irqs = of_irq_count(np); -#else - nr_irqs = 0; -#endif for (i = MCT_L0_IRQ; i < nr_irqs; i++) mct_irqs[i] = irq_of_parse_and_map(np, i);
Exynos Multi-Core Timer driver is used only on device-tree based systems, so remove non-dt related code. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- drivers/clocksource/exynos_mct.c | 4 ---- 1 file changed, 4 deletions(-)