Skip to content

Commit

Permalink
cpufreq: nforce2: Remove meaningless return
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yangtao Li authored and Rafael J. Wysocki committed Dec 11, 2018
1 parent df3e1c8 commit a67d584
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/cpufreq/cpufreq-nforce2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down Expand Up @@ -438,4 +436,3 @@ static void __exit nforce2_exit(void)

module_init(nforce2_init);
module_exit(nforce2_exit);

0 comments on commit a67d584

Please sign in to comment.