]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: ondemand: Work is guaranteed to be pending
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 3 Dec 2015 04:07:50 +0000 (09:37 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Dec 2015 01:20:21 +0000 (02:20 +0100)
commit7e911a02a137371accf1916c1a77435596168ff0
tree52ea4c7b4d9df60a2210de4d623e993f2ba4f9b9
parent25bb74c98b9a97a84672bbaa2491adcacadc8a54
cpufreq: ondemand: Work is guaranteed to be pending

We are guaranteed to have works scheduled for policy->cpus, as the
policy isn't stopped yet. And so there is no need to check that again.
Drop it.

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