From: Markus Elfring Date: Thu, 15 Feb 2018 19:14:32 +0000 (+0100) Subject: cpufreq: powernow-k8: Drop unnecessary return statements from two functions X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0f555518eaee4f3855ffa9e8237b938af186df55;p=openwrt%2Fstaging%2Fblogic.git 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 Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- 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) */