projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20bb550
)
cpufreq: qoriq: clean up unused code
author
Tang Yuantian
<Yuantian.Tang@nxp.com>
Tue, 21 Feb 2017 06:51:24 +0000
(14:51 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Thu, 23 Feb 2017 22:01:49 +0000
(23:01 +0100)
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>
drivers/cpufreq/qoriq-cpufreq.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/qoriq-cpufreq.c
b/drivers/cpufreq/qoriq-cpufreq.c
index a6fefac8afe49a38ccc613bc0c015e3e8f5d6cdc..bfec1bcd3835f3110f24e0fc9ee2ce16d8ceb5cb 100644
(file)
--- 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