aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorZhang Rui <[email protected]>2025-04-09 00:50:25 +0000
committerRafael J. Wysocki <[email protected]>2025-04-09 14:16:38 +0000
commit8fa2f8bd6ad10ecf12f9872cdc5d8df7056e98e3 (patch)
treea6ce306527f0d97c5ae112b51973f555f36343f1 /rust/helpers/helpers.c
parentACPI: processor: idle: Remove obsolete comment (diff)
downloadkernel-8fa2f8bd6ad10ecf12f9872cdc5d8df7056e98e3.tar.gz
kernel-8fa2f8bd6ad10ecf12f9872cdc5d8df7056e98e3.zip
ACPI: processor: idle: Set pr->flags.power unconditionally
acpi_processor_get_power_info_default() ensures that the processor's ACPI_STATE_C1 state is always valid. Consequently, the pr->flags.power should be set unconditionally after this. Remove conditional checks and directly set pr->flags.power. No functional change. Signed-off-by: Zhang Rui <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions