Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f555518 authored by Markus Elfring's avatar Markus Elfring Committed by Rafael J. Wysocki
Browse files

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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 7f3a1d66
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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) */