commit | 8d540ea79211dd272403ed79b2033bbded19ac42 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Jun 28 03:31:02 2016 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Jul 04 13:22:35 2016 +0200 |
tree | 4d9ef8d3b71c009404d08b8151789e6a0465957a | |
parent | 5d1191ab6cd82b1347eb1b023a3b1eb36ae74ec9 [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>