linux/tools/power/cpupower/utils
Sang-Heon Jeon adfe005732 cpupower: remove conditional return with no effect
Both branches of the check return the same value, so the check has
no effect. Remove it and return the value directly.

This is the result of running the Coccinelle script from
scripts/coccinelle/misc/cond_return_no_effect.cocci.

Link: https://lore.kernel.org/linux-pm/20260723184538.3888637-36-ekffu200098@gmail.com/raw
Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2026-08-04 13:12:06 -06:00
..
helpers cpupower: Build and call CPPC information on non-AMD processors 2026-07-16 17:34:27 -06:00
idle_monitor cpupower: idle_monitor: fix incorrect value logged after stop 2025-12-15 12:33:28 -07:00
builtin.h cpupower: Introduce powercap intel-rapl library and powercap-info command 2022-11-30 16:48:28 -07:00
cpufreq-info.c cpupower: Print kernel and hardware frequency information 2026-07-16 17:34:27 -06:00
cpufreq-set.c cpupower: remove extern declarations in cmd functions 2026-04-06 11:25:32 -06:00
cpuidle-info.c cpupower: remove extern declarations in cmd functions 2026-04-06 11:25:32 -06:00
cpuidle-set.c cpupower: remove extern declarations in cmd functions 2026-04-06 11:25:32 -06:00
cpupower-info.c cpupower: remove extern declarations in cmd functions 2026-04-06 11:25:32 -06:00
cpupower-set.c cpupower: remove extern declarations in cmd functions 2026-04-06 11:25:32 -06:00
cpupower.c cpupower: Introduce powercap intel-rapl library and powercap-info command 2022-11-30 16:48:28 -07:00
powercap-info.c cpupower: remove conditional return with no effect 2026-08-04 13:12:06 -06:00
version-gen.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00