Skip to content

Commit f762568

Browse files
gghhrafaeljw
authored andcommitted
ACPI: processor: idle: Remove obsolete comment
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 <[email protected]> Acked-by: Zhang Rui <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 0af2f6b commit f762568

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
@@ -482,10 +482,6 @@ static int acpi_processor_get_cstate_info(struct acpi_processor *pr)
482482

483483
pr->power.count = acpi_processor_power_verify(pr);
484484

485-
/*
486-
* if one state of type C2 or C3 is available, mark this
487-
* CPU as being "idle manageable"
488-
*/
489485
for (i = 1; i < ACPI_PROCESSOR_MAX_POWER; i++) {
490486
if (pr->power.states[i].valid) {
491487
pr->power.count = i;

0 commit comments

Comments
 (0)