Commit 708e994
committed
ACPI: processor: idle: Set pr->flags.power unconditionally
JIRA: https://issues.redhat.com/browse/RHEL-114091
commit 8fa2f8b
Author: Zhang Rui <rui.zhang@intel.com>
Date: Wed, 09 Apr 2025 16:16:38 +0000
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 <rui.zhang@intel.com>
Link: https://patch.msgid.link/20250409005026.1932637-2-rui.zhang@intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>1 parent 24a5320 commit 708e994
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
| 492 | + | |
492 | 493 | | |
493 | 494 | | |
494 | 495 | | |
495 | 496 | | |
496 | | - | |
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
| |||
0 commit comments