From patchwork Fri Sep 5 12:34:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 4851891 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 55BF39F2EC for ; Fri, 5 Sep 2014 12:38:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1E2F720109 for ; Fri, 5 Sep 2014 12:38:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2C644200E6 for ; Fri, 5 Sep 2014 12:38:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XPsji-0007pA-3d; Fri, 05 Sep 2014 12:35:30 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XPsjf-0007jN-Gk for linux-arm-kernel@lists.infradead.org; Fri, 05 Sep 2014 12:35:28 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NBF00K5CHRBGXB0@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 05 Sep 2014 13:37:59 +0100 (BST) X-AuditID: cbfec7f4-b7f156d0000063c7-46-5409adfbca8a Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 66.5D.25543.BFDA9045; Fri, 05 Sep 2014 13:35:07 +0100 (BST) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NBF00A35HMCTZ80@eusync2.samsung.com>; Fri, 05 Sep 2014 13:35:07 +0100 (BST) From: Krzysztof Kozlowski To: Russell King , Kukjin Kim , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 RESEND 2/3] ARM: EXYNOS: Remove unneeded __ref annotation for cpu_die function Date: Fri, 05 Sep 2014 14:34:54 +0200 Message-id: <1409920495-16533-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1409920495-16533-1-git-send-email-k.kozlowski@samsung.com> References: <1409920495-16533-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprILMWRmVeSWpSXmKPExsVy+t/xK7q/13KGGJw4ZWyxccZ6Vot5n2Ut Xr8wtOhdcJXN4mzTG3aLTY+vsVpc3jWHzWLG+X1MFrcv81qsPXKX3eLkn15Gi1W7/jA68Hi0 NPeweeycdZfd4861PWwem5fUe/RtWcXo8XmTXABbFJdNSmpOZllqkb5dAldG056dzAVN7BUt W26xNDB+YO1i5OSQEDCRmLdjITuELSZx4d56ti5GLg4hgaWMEvsOzGKEcPqYJHbuaGcDqWIT MJbYvHwJWJWIwA5GieX3LrODOMwCR5gklp3YzARSJSyQLDHjxAGgBAcHi4CqRPOLcJAwr4C7 xPYrxxgh1slJnDw2GewMTgEPib8dzSwgthBQzeR365gnMPIuYGRYxSiaWppcUJyUnmuoV5yY W1yal66XnJ+7iRESjF92MC4+ZnWIUYCDUYmH94URZ4gQa2JZcWXuIUYJDmYlEV73KUAh3pTE yqrUovz4otKc1OJDjEwcnFINjAXq1gc6WvibzN1cy/qfMPdez9Jt7vspe4S1zV2dcfmpqUf4 5K6o7v+bJJ2lV7V0u+jdJpHKrQduh2ZsfRzfJf1y9gROhkvNncq5+wPevtXjM9vcIcNSmvhc /her3TH1wv0mvsx7exXetE/RFi38/nvyjTmT7iRIsJwU+Ruhq/bwrUizRhCTEktxRqKhFnNR cSIAYfqWNyQCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140905_053527_714543_250F7486 X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.7 (------) Cc: Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Sachin Kamat , Daniel Lezcano , Tomasz Figa , Kyungmin Park , Marek Szyprowski X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The __ref annotation for exynos_cpu_die() is not needed because the function does not reference any __init/__exit symbol or call. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Tomasz Figa --- Changes since v4: 1. Rebase on linux-next-20140804. 2. Add Reviewed-by Tomasz Figa. --- arch/arm/mach-exynos/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/platsmp.c b/arch/arm/mach-exynos/platsmp.c index a809f76c8160..83b20a38a598 100644 --- a/arch/arm/mach-exynos/platsmp.c +++ b/arch/arm/mach-exynos/platsmp.c @@ -373,7 +373,7 @@ static void __init exynos_smp_prepare_cpus(unsigned int max_cpus) * * Called with IRQs disabled */ -static void __ref exynos_cpu_die(unsigned int cpu) +static void exynos_cpu_die(unsigned int cpu) { int spurious = 0;