[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1487659884-29040-1-git-send-email-yuantian.tang@nxp.com>
Date: Tue, 21 Feb 2017 14:51:24 +0800
From: <yuantian.tang@....com>
To: <rjw@...ysocki.net>
CC: <viresh.kumar@...aro.org>, <linux-pm@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
Tang Yuantian <Yuantian.Tang@....com>,
Tang Yuantian <yuantian.tang@....com>
Subject: [PATCH] cpufreq: qoriq: clean up unused code
From: Tang Yuantian <Yuantian.Tang@....com>
This snip code is not needed anymore since its user
get_hard_smp_processor_id() has been removed.
Signed-off-by: Tang Yuantian <yuantian.tang@....com>
---
drivers/cpufreq/qoriq-cpufreq.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-cpufreq.c
index 53d8c3f..02031a3 100644
--- a/drivers/cpufreq/qoriq-cpufreq.c
+++ b/drivers/cpufreq/qoriq-cpufreq.c
@@ -22,10 +22,6 @@
#include <linux/slab.h>
#include <linux/smp.h>
-#if !defined(CONFIG_ARM)
-#include <asm/smp.h> /* for get_hard_smp_processor_id() in UP configs */
-#endif
-
/**
* struct cpu_data
* @pclk: the parent clock of cpu
--
2.1.0.27.g96db324
Powered by blists - more mailing lists