summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2018-02-15 20:14:32 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-02-27 18:29:01 +0100
commit0f555518eaee4f3855ffa9e8237b938af186df55 (patch)
tree2d6eb6c877397576bf4340e4cbd8cf9ea0dd7f97 /drivers/cpufreq
parent7f3a1d66df044709238ec674138dfff23b4712ff (diff)
downloadlinux-0f555518eaee4f3855ffa9e8237b938af186df55.tar.gz
linux-0f555518eaee4f3855ffa9e8237b938af186df55.tar.bz2
linux-0f555518eaee4f3855ffa9e8237b938af186df55.zip
cpufreq: powernow-k8: Drop unnecessary return statements from two functions
The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected functions. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> 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/powernow-k8.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/cpufreq/powernow-k8.c b/drivers/cpufreq/powernow-k8.c
index 460bf22a8a2b..782a8c2a359d 100644
--- a/drivers/cpufreq/powernow-k8.c
+++ b/drivers/cpufreq/powernow-k8.c
@@ -122,14 +122,12 @@ static int query_current_values_with_pending_wait(struct powernow_k8_data *data)
static void count_off_irt(struct powernow_k8_data *data)
{
udelay((1 << data->irt) * 10);
- return;
}
/* the voltage stabilization time */
static void count_off_vst(struct powernow_k8_data *data)
{
udelay(data->vstable * VST_UNITS_20US);
- return;
}
/* need to init the control msr to a safe value (for each cpu) */