提交 0f555518 编写于 作者: M Markus Elfring 提交者: Rafael J. Wysocki

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: NMarkus Elfring <elfring@users.sourceforge.net>
Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 7f3a1d66
...@@ -122,14 +122,12 @@ static int query_current_values_with_pending_wait(struct powernow_k8_data *data) ...@@ -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) static void count_off_irt(struct powernow_k8_data *data)
{ {
udelay((1 << data->irt) * 10); udelay((1 << data->irt) * 10);
return;
} }
/* the voltage stabilization time */ /* the voltage stabilization time */
static void count_off_vst(struct powernow_k8_data *data) static void count_off_vst(struct powernow_k8_data *data)
{ {
udelay(data->vstable * VST_UNITS_20US); udelay(data->vstable * VST_UNITS_20US);
return;
} }
/* need to init the control msr to a safe value (for each cpu) */ /* need to init the control msr to a safe value (for each cpu) */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册