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)
commite68fe18c5b5442baca162ccf3b273326e6132a51
tree52ea4c7b4d9df60a2210de4d623e993f2ba4f9b9
parente128c864070055e062f6c90c64c03aad18452ac3
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