diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-04-01 12:57:46 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-04-02 15:26:32 +0200 |
commit | e9f51837c97d199dfa06ef448797c584755837a8 (patch) | |
tree | d142cce9210cc5978eaed5be6d35f2e424e4b1be /drivers/cpufreq/powernow-k8.c | |
parent | b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 (diff) | |
download | linux-3.10-e9f51837c97d199dfa06ef448797c584755837a8.tar.gz linux-3.10-e9f51837c97d199dfa06ef448797c584755837a8.tar.bz2 linux-3.10-e9f51837c97d199dfa06ef448797c584755837a8.zip |
cpufreq: Don't check if cpu is online/offline for cpufreq callbacks
cpufreq layer doesn't call cpufreq driver's callback for any offline
CPU and so checking that isn't useful.
Lets get rid of it.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/powernow-k8.c')
-rw-r--r-- | drivers/cpufreq/powernow-k8.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/cpufreq/powernow-k8.c b/drivers/cpufreq/powernow-k8.c index 52137a32396..b828efe4b2f 100644 --- a/drivers/cpufreq/powernow-k8.c +++ b/drivers/cpufreq/powernow-k8.c @@ -1102,9 +1102,6 @@ static int __cpuinit powernowk8_cpu_init(struct cpufreq_policy *pol) struct init_on_cpu init_on_cpu; int rc; - if (!cpu_online(pol->cpu)) - return -ENODEV; - smp_call_function_single(pol->cpu, check_supported_cpu, &rc, 1); if (rc) return -ENODEV; |