Skip to content

Commit a67d584

Browse files
TinyWindzzrafaeljw
authored andcommitted
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>
1 parent df3e1c8 commit a67d584

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/cpufreq/cpufreq-nforce2.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ static void nforce2_write_pll(int pll)
123123
/* Now write the value in all 64 registers */
124124
for (temp = 0; temp <= 0x3f; temp++)
125125
pci_write_config_dword(nforce2_dev, NFORCE2_PLLREG, pll);
126-
127-
return;
128126
}
129127

130128
/**
@@ -438,4 +436,3 @@ static void __exit nforce2_exit(void)
438436

439437
module_init(nforce2_init);
440438
module_exit(nforce2_exit);
441-

0 commit comments

Comments
 (0)