Skip to content

Commit 5b05f5a

Browse files
committed
ACPI: processor: idle: Remove obsolete comment
JIRA: https://issues.redhat.com/browse/RHEL-114091 commit f762568 Author: Giovanni Gherdovich <ggherdovich@suse.cz> Date: Wed, 09 Apr 2025 14:52:55 +0000 Since commit 496121c ("ACPI: processor: idle: Allow probing on platforms with one ACPI C-state"), the comment doesn't reflect the code anymore; remove it. Signed-off-by: Giovanni Gherdovich <ggherdovich@suse.cz> Acked-by: Zhang Rui <rui.zhang@intel.com> Link: https://patch.msgid.link/20250328143040.9348-2-ggherdovich@suse.cz Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>
1 parent d3e6c8a commit 5b05f5a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/acpi/processor_idle.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -490,10 +490,6 @@ static int acpi_processor_get_cstate_info(struct acpi_processor *pr)
490490

491491
pr->power.count = acpi_processor_power_verify(pr);
492492

493-
/*
494-
* if one state of type C2 or C3 is available, mark this
495-
* CPU as being "idle manageable"
496-
*/
497493
for (i = 1; i < ACPI_PROCESSOR_MAX_POWER; i++) {
498494
if (pr->power.states[i].valid) {
499495
pr->power.count = i;

0 commit comments

Comments
 (0)