diff options
author | Stratos Karafotis <stratosk@semaphore.gr> | 2013-10-31 19:27:36 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-01 00:44:34 +0100 |
commit | 880eef041655b35f9aa488726ea3c4303a4f2204 (patch) | |
tree | 05dcd1517c26ebbff3c6e4834e7d498679112313 /drivers/cpufreq/cpufreq_ondemand.c | |
parent | cpufreq: move freq change notifications to cpufreq core (diff) | |
download | linux-880eef041655b35f9aa488726ea3c4303a4f2204.tar.xz linux-880eef041655b35f9aa488726ea3c4303a4f2204.zip |
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/cpufreq_ondemand.c')
-rw-r--r-- | drivers/cpufreq/cpufreq_ondemand.c | 1 |
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) 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; |