aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTang Yuantian <Yuantian.Tang@nxp.com>2017-02-21 14:51:24 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-02-23 23:01:49 +0100
commit17b4eaf475684bd12aeecf358a7ea6e3bec871a5 (patch)
tree383b13fb7fdd8585ea5235a3c57056b30113931c
parent20bb5505e96f00a997fa78cf60d6d9156b19d435 (diff)
downloadleg-kernel-17b4eaf475684bd12aeecf358a7ea6e3bec871a5.tar.gz
cpufreq: qoriq: clean up unused code
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@nxp.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/cpufreq/qoriq-cpufreq.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-cpufreq.c
index a6fefac8afe4..bfec1bcd3835 100644
--- a/drivers/cpufreq/qoriq-cpufreq.c
+++ b/drivers/cpufreq/qoriq-cpufreq.c
@@ -23,10 +23,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