linux/drivers/powercap
Thorsten Blum e5753da31c powercap: idle_inject: Simplify if condition
The if condition !A || A && B can be simplified to !A || B.

Fixes the following Coccinelle/coccicheck warning reported by
excluded_middle.cocci:

	WARNING !A || A && B is equivalent to !A || B

Compile-tested only.

Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2024-06-07 20:57:20 +02:00
..
arm_scmi_powercap.c
dtpm_cpu.c
dtpm_devfreq.c
dtpm_subsys.h
dtpm.c
idle_inject.c powercap: idle_inject: Simplify if condition 2024-06-07 20:57:20 +02:00
intel_rapl_common.c powercap: intel_rapl: Switch to new Intel CPU model defines 2024-06-07 20:40:49 +02:00
intel_rapl_msr.c powercap: intel_rapl_msr: Switch to new Intel CPU model defines 2024-06-07 20:40:48 +02:00
intel_rapl_tpmi.c
Kconfig
Makefile
powercap_sys.c