diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2024-12-18 13:09:50 -0600 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-12-20 09:12:07 -0700 |
commit | dec2f97a1571ed28ddbadf4431afc5e5872a10df (patch) | |
tree | 79362703b2214d0b368e015425f891b639071931 | |
parent | 9d6c0e58514f8b57cd9c2c755e41623d6a966025 (diff) |
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/20241218191144.3440854-2-superm1@kernel.org
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
-rw-r--r-- | tools/power/cpupower/utils/cpufreq-info.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/power/cpupower/utils/cpufreq-info.c b/tools/power/cpupower/utils/cpufreq-info.c index c96b77365c63..5f092f3c729e 100644 --- a/tools/power/cpupower/utils/cpufreq-info.c +++ b/tools/power/cpupower/utils/cpufreq-info.c @@ -120,7 +120,6 @@ static void print_duration(unsigned long duration) } else printf("%lu ns", duration); } - return; } static int get_boost_mode_x86(unsigned int cpu) |