]> git.karo-electronics.de Git - linux-beck.git/commitdiff
cpufreq: ondemand: Remove redundant return statement
authorStratos Karafotis <stratosk@semaphore.gr>
Thu, 31 Oct 2013 18:27:36 +0000 (20:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 31 Oct 2013 23:44:34 +0000 (00:44 +0100)
After commit dfa5bb622555 (cpufreq: ondemand: Change the calculation
of target frequency), this return statement is no longer needed.

Reported-by: Henrik Nilsson <Karl.Henrik.Nilsson@gmail.com>
Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq_ondemand.c

index 32f26f6e17c54cffb25d26383e6cc78cd3af7cec..18d4091890920048f8ad0301bd784ee29cfca074 100644 (file)
@@ -168,7 +168,6 @@ static void od_check_cpu(int cpu, unsigned int load)
                        dbs_info->rate_mult =
                                od_tuners->sampling_down_factor;
                dbs_freq_increase(policy, policy->max);
-               return;
        } else {
                /* Calculate the next frequency proportional to load */
                unsigned int freq_next;