From: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Date: Sat, 13 Sep 2014 17:49:32 +0000 (+0900)
Subject: ARM: EXYNOS: Remove unneeded __ref annotation for cpu_die function
X-Git-Tag: v3.19-rc1~170^2~22^2~1
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=27b9ee852cce3baec47af0b88a62cea62a5dd84d;p=users%2Fjedix%2Flinux-maple.git

ARM: EXYNOS: Remove unneeded __ref annotation for cpu_die function

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 <k.kozlowski@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
---

diff --git a/arch/arm/mach-exynos/platsmp.c b/arch/arm/mach-exynos/platsmp.c
index 87a73eec9b36..5d277924ef77 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;