]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
cpufreq: qoriq: clean up unused code
authorTang Yuantian <Yuantian.Tang@nxp.com>
Tue, 21 Feb 2017 06:51:24 +0000 (14:51 +0800)
committerRafael 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

index a6fefac8afe49a38ccc613bc0c015e3e8f5d6cdc..bfec1bcd3835f3110f24e0fc9ee2ce16d8ceb5cb 100644 (file)
 #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