cpufreq: Drop cpufreq_disabled() check from cpufreq_cpu_{get|put}()
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 27 Jan 2015 08:36:07 +0000 (14:06 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Feb 2015 22:26:02 +0000 (23:26 +0100)
commit1e63eaf0c45f0ac733ef2818cd93e3e9047ef1c5
treefca60dba177f10eb05d2d8f1f27ae9cc8dadb18f
parent6ffae8c06fab058d6c3f8ecb7f921327721034e7
cpufreq: Drop cpufreq_disabled() check from cpufreq_cpu_{get|put}()

When cpufreq is disabled, the per-cpu variable would have been set to
NULL. Remove this unnecessary check.

[ Changelog from Saravana Kannan. ]

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c