cpufreq: Drop redundant check for inactive policies
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 13 Oct 2015 05:27:13 +0000 (10:57 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Oct 2015 00:30:28 +0000 (02:30 +0200)
commite625742f9c6e5d01b5c46efcc2870893735badf3
treecbbd69270547f035aa1c809a1c6e388323598811
parent51ec005a94b7da34434211f23465d3b7dc841148
cpufreq: Drop redundant check for inactive policies

We just made sure policy->cpu is online and this check will always fail
as the policy is active. Drop it.

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