aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorStratos Karafotis <stratosk@semaphore.gr>2013-10-31 14:27:36 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-31 19:44:34 -0400
commit880eef041655b35f9aa488726ea3c4303a4f2204 (patch)
tree05dcd1517c26ebbff3c6e4834e7d498679112313 /drivers/cpufreq
parentd4019f0a92ab802f385cc9c8ad3ab7b5449712cb (diff)
cpufreq: ondemand: Remove redundant return statement
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>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/cpufreq_ondemand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c
index 32f26f6e17c5..18d409189092 100644
--- a/drivers/cpufreq/cpufreq_ondemand.c
+++ b/drivers/cpufreq/cpufreq_ondemand.c
@@ -168,7 +168,6 @@ static void od_check_cpu(int cpu, unsigned int load)
168 dbs_info->rate_mult = 168 dbs_info->rate_mult =
169 od_tuners->sampling_down_factor; 169 od_tuners->sampling_down_factor;
170 dbs_freq_increase(policy, policy->max); 170 dbs_freq_increase(policy, policy->max);
171 return;
172 } else { 171 } else {
173 /* Calculate the next frequency proportional to load */ 172 /* Calculate the next frequency proportional to load */
174 unsigned int freq_next; 173 unsigned int freq_next;