From patchwork Mon Oct 8 12:50:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 148365 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3608231lji; Mon, 8 Oct 2018 05:51:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV619JunKvu7zZ0+iUm8AukwKsyjuia81ocBNBNArP+zzqbbfNaKt9jx0pILoyo7ypBqGW8Q/ X-Received: by 2002:a63:cc0b:: with SMTP id x11-v6mr7374242pgf.33.1539003074012; Mon, 08 Oct 2018 05:51:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539003074; cv=none; d=google.com; s=arc-20160816; b=JqljpnAZSiapZE5hHg2QzdgdLdEupK37QsNv6TfcK4gymiFBwu46x3TKcAlMqiXI8F qYYFEqZtwQSnVbVPKU6PD0TvH0Y5ET3SArzw3zIf5hhoeB3P5svLAz7ANqjrTg3M+BoV aAhMqa0UNyfNyLJVhQD+8TB4/0p33XHPPOAUEDeDHNkh7V586vcwhym/TS5zVJ05js4s qiFUIbnNwLYx8ksaUSXjCOAMcawXN58G9mPMJl+lvC3EHpxQaSmrqt8CBY2aagS/xiJP kBBqXOHPxr1GARVLOkfA1TlGokn6tkASxNVJbLtaURPAUUQR64ro5CYiTSa7P/dJWzaK v+3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=PGPFJzJpmURqr/aQZntB233XqnYePEIvAeWG3Km56PI=; b=H7GmTnVG37YI5YjCowAorgPTi4tMmgCDVNrOLhddFNHBwGaBU1olFUoc+eBh+7047J gijyqP6qPOK+OvJYAe5YGWbszHDNDj0WUzn8xNF2LeBN+hTEY1qlXTUYLfkB0Q45lht6 9QogUJK/W1j/EWAlEL6qJltUS/KaKc9aLswi8O913bv5H2MoWzZbBSyfFmvXO1JKatet fAfRmk4DFsOczu76dENIvSWeVOfUqNTztftjiVFei/vJMa0fVvgwwQdyZqWVZCUoxHZL G6IqNnGj3A7zxZ38F45UMvqcMAj2H/7u/hHq/DsQhzpaOPddq4PtdBQiY20kGbY+kER0 zGrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=jI+mt7WH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 38-v6si13858051pgr.237.2018.10.08.05.51.13; Mon, 08 Oct 2018 05:51:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=jI+mt7WH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726468AbeJHUCZ (ORCPT + 32 others); Mon, 8 Oct 2018 16:02:25 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:45196 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726014AbeJHUCX (ORCPT ); Mon, 8 Oct 2018 16:02:23 -0400 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 To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Will Deacon , Catalin Marinas , Marc Zyngier , Thomas Gleixner , Daniel Lezcano , Krzysztof Kozlowski , Chanwoo Choi , Bartlomiej Zolnierkiewicz , Inki Dae 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: H4sIAAAAAAAAA+NgFrrAIsWRmVeSWpSXmKPExsWy7djPc7rLg3ZHGzzZw2axccZ6Vov3y3oY La5/ec5qMe+zrMWk+xNYLM6f38BusenxNVaLy7vmsFnMOL+PyWLtkbvsFn/v/GOz2LxpKrPF y48nWBx4PdbMW8PosWlVJ5vHnWt72DzenTvH7rF5Sb1H35ZVjB6fN8kFsEdx2aSk5mSWpRbp 2yVwZbRvmc5YcJSt4uGSO0wNjFtYuxg5OSQETCRON81i7mLk4hASWMEoMWHhMVYI5zOjxP8F vWwwVV8X/WeESCxjlLiw7DZYQkiggUli9VN3EJtNwFCi620XWFxEIFui8/EDRhCbWWARs8SB Y8IgtrCAncSR+7PAalgEVCWWL3gHZvMK2EhMXbqKCWKZvMTqDQeYQWxOAVuJJ12rWEAWSwjs YZO4//49VJGLxPwp95ghbGGJV8e3sEPYMhKdHQeZIBqaGSXaZ8xih3B6GCW2ztkB9Y+1xOHj F1khzuOTmLRtOtAkDqA4r0RHmxBEiYfElfvHWCBensAo8XRTO9MERskFjAyrGMVTS4tz01OL jfNSy/WKE3OLS/PS9ZLzczcxAuP59L/jX3cw7vuTdIhRgINRiYc3wG9XtBBrYllxZe4hRgkO ZiURXtHtQCHelMTKqtSi/Pii0pzU4k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ac128a8e507c86442a37 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181008125046eucas1p1e0304c8c22a4ac128a8e507c86442a37 References: <20181008125009.3721-1-m.szyprowski@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Exynos Multi-Core Timer driver is used only on device-tree based systems, so remove non-dt related code. Signed-off-by: Marek Szyprowski --- drivers/clocksource/exynos_mct.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.17.1 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);