diff options
| author | Tang Yuantian <Yuantian.Tang@nxp.com> | 2017-02-21 01:51:24 -0500 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-02-23 17:01:49 -0500 |
| commit | 17b4eaf475684bd12aeecf358a7ea6e3bec871a5 (patch) | |
| tree | 383b13fb7fdd8585ea5235a3c57056b30113931c | |
| parent | 20bb5505e96f00a997fa78cf60d6d9156b19d435 (diff) | |
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.c | 4 |
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 @@ | |||
| 23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
| 24 | #include <linux/smp.h> | 24 | #include <linux/smp.h> |
| 25 | 25 | ||
| 26 | #if !defined(CONFIG_ARM) | ||
| 27 | #include <asm/smp.h> /* for get_hard_smp_processor_id() in UP configs */ | ||
| 28 | #endif | ||
| 29 | |||
| 30 | /** | 26 | /** |
| 31 | * struct cpu_data | 27 | * struct cpu_data |
| 32 | * @pclk: the parent clock of cpu | 28 | * @pclk: the parent clock of cpu |
