diff options
| author | Zhang Rui <[email protected]> | 2025-04-09 00:50:25 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-04-09 14:16:38 +0000 |
| commit | 8fa2f8bd6ad10ecf12f9872cdc5d8df7056e98e3 (patch) | |
| tree | a6ce306527f0d97c5ae112b51973f555f36343f1 /rust/helpers/helpers.c | |
| parent | ACPI: processor: idle: Remove obsolete comment (diff) | |
| download | kernel-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
