Commit 880eef04 authored by Stratos Karafotis's avatar Stratos Karafotis Committed by Rafael J. Wysocki

cpufreq: ondemand: Remove redundant return statement

After commit dfa5bb62 (cpufreq: ondemand: Change the calculation
of target frequency), this return statement is no longer needed.
Reported-by: default avatarHenrik Nilsson <Karl.Henrik.Nilsson@gmail.com>
Signed-off-by: default avatarStratos Karafotis <stratosk@semaphore.gr>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent d4019f0a
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment