From patchwork Tue Aug 5 10:43:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 4677161 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 55C65C0338 for ; Tue, 5 Aug 2014 10:44:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8F2B020166 for ; Tue, 5 Aug 2014 10:44:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 66E1620160 for ; Tue, 5 Aug 2014 10:44:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753423AbaHEKnz (ORCPT ); Tue, 5 Aug 2014 06:43:55 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:52552 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753167AbaHEKnw (ORCPT ); Tue, 5 Aug 2014 06:43:52 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N9T00BCYXSRJW00@mailout4.w1.samsung.com>; Tue, 05 Aug 2014 11:43:40 +0100 (BST) X-AuditID: cbfec7f4-b7f156d0000063c7-be-53e0b5658bcc Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 20.6B.25543.565B0E35; Tue, 05 Aug 2014 11:43:49 +0100 (BST) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N9T0031YXSYINC0@eusync3.samsung.com>; Tue, 05 Aug 2014 11:43:49 +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 Cc: Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Tomasz Figa , Krzysztof Kozlowski Subject: [PATCH v5 2/3] ARM: EXYNOS: Remove unneeded __ref annotation for cpu_die function Date: Tue, 05 Aug 2014 12:43:44 +0200 Message-id: <1407235425-13937-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1407235425-13937-1-git-send-email-k.kozlowski@samsung.com> References: <1407235425-13937-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHJMWRmVeSWpSXmKPExsVy+t/xq7qpWx8EG5w4r2qxccZ6VovXLwwt ehdcZbM42/SG3WLT42usFpd3zWGzmHF+H5PF7cu8FmuP3GW3WD/jNYsDl0dLcw+bx+Yl9R59 W1YxenzeJBfAEsVlk5Kak1mWWqRvl8CV0bRnJ3NBE3tFy5ZbLA2MH1i7GDk5JARMJA43LmCH sMUkLtxbz9bFyMUhJLCUUeLi5TeMEE4fk8S7w3/YQKrYBIwlNi9fAlYlIrCDUWL5vctg7cwC zxklnn4PB7GFBWIkmr7OYwKxWQRUJZZ9/wi2jlfAXeLh239Q6+QkTh6bDBbnFPCQWNB0Dywu BFTTuOE18wRG3gWMDKsYRVNLkwuKk9JzDfWKE3OLS/PS9ZLzczcxQsLsyw7GxcesDjEKcDAq 8fAanL4bLMSaWFZcmXuIUYKDWUmEV2LNg2Ah3pTEyqrUovz4otKc1OJDjEwcnFINjFoJp++G OwfvCXA78kG85W6Fybsqh7C9ju+s8jzup/2++Xje/Li+nND4X5NCIjIOPuh8965gp6Hv8t/3 9iyft7/IRZo/vb1uj8qslBPavzxiT+/sl7wpe1FHUaVoV9FjObELRmxr3DP4HzGY6xbuVy91 yFgc07ttwm3j8lC5icfSl++aKnjjgBJLcUaioRZzUXEiACVAtsURAgAA Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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;