]> Git Repo - linux.git/commitdiff
cpufreq: ondemand: Remove redundant return statement
authorStratos Karafotis <[email protected]>
Thu, 31 Oct 2013 18:27:36 +0000 (20:27 +0200)
committerRafael J. Wysocki <[email protected]>
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 <[email protected]>
Signed-off-by: Stratos Karafotis <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
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;
This page took 0.055482 seconds and 4 git commands to generate.