diff options
author | Yangtao Li <tiny.windzz@gmail.com> | 2018-12-05 10:57:51 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-12-11 12:11:46 +0100 |
commit | a67d5849c9f1ff6b2afa0704b68ba5e192a3cb32 (patch) | |
tree | 4c1e118dc4eb2a4fc4ed1bd349d42cdb2d108909 /drivers/cpufreq | |
parent | df3e1c83a3a7bd65dac951c117cc9c796acd96b0 (diff) | |
download | lwn-a67d5849c9f1ff6b2afa0704b68ba5e192a3cb32.tar.gz lwn-a67d5849c9f1ff6b2afa0704b68ba5e192a3cb32.zip |
cpufreq: nforce2: Remove meaningless return
Delete a line of meaningless return and some useless blank lines. In a function
whose return type is void, returning on the last line is not required.
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/cpufreq-nforce2.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/cpufreq/cpufreq-nforce2.c b/drivers/cpufreq/cpufreq-nforce2.c index dbf82f36d270..33c309a08c64 100644 --- a/drivers/cpufreq/cpufreq-nforce2.c +++ b/drivers/cpufreq/cpufreq-nforce2.c @@ -123,8 +123,6 @@ static void nforce2_write_pll(int pll) /* Now write the value in all 64 registers */ for (temp = 0; temp <= 0x3f; temp++) pci_write_config_dword(nforce2_dev, NFORCE2_PLLREG, pll); - - return; } /** @@ -438,4 +436,3 @@ static void __exit nforce2_exit(void) module_init(nforce2_init); module_exit(nforce2_exit); - |