From: Rafael J. Wysocki Date: Thu, 23 Nov 2017 00:30:16 +0000 (+0100) Subject: cpufreq: Drop pointless return statement X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=70d1ff71161b1c56c6d025e6a957bc878dfd940b;p=openwrt%2Fstaging%2Fblogic.git cpufreq: Drop pointless return statement Drop a pointless return statement from cpufreq_unregister_governor(). Signed-off-by: Rafael J. Wysocki Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 8f356c4befda..d2a22de4e4d2 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -2160,7 +2160,6 @@ void cpufreq_unregister_governor(struct cpufreq_governor *governor) mutex_lock(&cpufreq_governor_mutex); list_del(&governor->governor_list); mutex_unlock(&cpufreq_governor_mutex); - return; } EXPORT_SYMBOL_GPL(cpufreq_unregister_governor);