Skip to content

Commit da6e2ca

Browse files
committed
cpupower: Remove spurious return statement
JIRA: https://issues.redhat.com/browse/RHEL-80660 commit dec2f97 Author: Mario Limonciello <[email protected]> Date: Wed Dec 18 13:09:50 2024 -0600 cpupower: Remove spurious return statement print_duration() has a return; statement at the end of the function that is not necessary as it's a void function. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Shuah Khan <[email protected]> Signed-off-by: David Arcari <[email protected]>
1 parent 1aa55ab commit da6e2ca

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/power/cpupower/utils/cpufreq-info.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ static void print_duration(unsigned long duration)
120120
} else
121121
printf("%lu ns", duration);
122122
}
123-
return;
124123
}
125124

126125
static int get_boost_mode_x86(unsigned int cpu)

0 commit comments

Comments
 (0)