cpufreq: Drop pointless return statement
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 23 Nov 2017 00:30:16 +0000 (01:30 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 Dec 2017 14:35:41 +0000 (15:35 +0100)
Drop a pointless return statement from cpufreq_unregister_governor().

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c

index 8f356c4befda18772bf17dfdb97d7d00c1df846d..d2a22de4e4d2e72741b889e849d6ab88b89ed050 100644 (file)
@@ -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);