cpufreq: remove unnecessary check in __cpufreq_governor()
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 20 Aug 2013 06:38:24 +0000 (12:08 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 20 Aug 2013 13:43:50 +0000 (15:43 +0200)
commit9e9fd801676a946b759a8669baa24ba327c8c903
tree9d091f9b64a55eaf68ff7158e7d4a0e68de4ce21
parent9515f4d69b92feafe37581047a1bb41e41602faa
cpufreq: remove unnecessary check in __cpufreq_governor()

We don't need to check if event is CPUFREQ_GOV_POLICY_INIT and put
governor module as we are sure event can only be START/STOP here.

Remove the useless check.

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