]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cpufreq: drop !cpufreq_driver check from cpufreq_parse_governor()
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 3 Aug 2015 03:06:20 +0000 (08:36 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 1 Sep 2015 13:50:39 +0000 (15:50 +0200)
commit36dfef23cd26a6d3b71dd86509e34d311f1cd906
treef8637b71247965c6f422ac1c286ddb762f7ffabe
parentc7a7b418dd1991079dd7ef03fec7d1863ef96154
cpufreq: drop !cpufreq_driver check from cpufreq_parse_governor()

Driver is guaranteed to be present on a call to cpufreq_parse_governor()
and there is no need to check for !cpufreq_driver. 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.c