summaryrefslogtreecommitdiff
path: root/include/linux/cpufreq.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-06-28 03:31:02 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-07-04 13:22:35 +0200
commit8d540ea79211dd272403ed79b2033bbded19ac42 (patch)
tree4d9ef8d3b71c009404d08b8151789e6a0465957a /include/linux/cpufreq.h
parent5d1191ab6cd82b1347eb1b023a3b1eb36ae74ec9 (diff)
cpufreq: Drop redundant check from cpufreq_update_current_freq()
Both callers of cpufreq_update_current_freq(), cpufreq_update_policy() and cpufreq_start_governor(), check cpufreq_suspended before calling that function, so drop the redundant cpufreq_suspended check from it. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'include/linux/cpufreq.h')
0 files changed, 0 insertions, 0 deletions