]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ACPI: processor: idle: Remove obsolete comment
authorGiovanni Gherdovich <ggherdovich@suse.cz>
Fri, 28 Mar 2025 14:30:40 +0000 (15:30 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 9 Apr 2025 12:52:55 +0000 (14:52 +0200)
Since commit 496121c02127 ("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>
drivers/acpi/processor_idle.c

index b181f7fc209041e412772a7e9e8b30a3296aee8b..2a076c7a825a49d236e6a35a6784644b7337eeb4 100644 (file)
@@ -482,10 +482,6 @@ static int acpi_processor_get_cstate_info(struct acpi_processor *pr)
 
        pr->power.count = acpi_processor_power_verify(pr);
 
-       /*
-        * if one state of type C2 or C3 is available, mark this
-        * CPU as being "idle manageable"
-        */
        for (i = 1; i < ACPI_PROCESSOR_MAX_POWER; i++) {
                if (pr->power.states[i].valid) {
                        pr->power.count = i;