[PATCH 1/2] ACPI: processor: Remove redundant cstate check in power init

From: Huisong Li

Date: Wed Jan 28 2026 - 23:15:14 EST


The function acpi_processor_cstate_first_run_checks() is responsible
for updating max_cstate and performing initial hardware validation.
Currently, this function is invoked within acpi_processor_power_init().
However, the initialization flow already ensures this is called during
acpi_processor_register_idle_driver(). Therefore, the call in
acpi_processor_power_init() is redundant and effectively performs no work.

Signed-off-by: Huisong Li <lihuisong@xxxxxxxxxx>
---
drivers/acpi/processor_idle.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index 1f6d4060c1f2..083f85c0d530 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -1432,8 +1432,6 @@ void acpi_processor_power_init(struct acpi_processor *pr)
if (disabled_by_idle_boot_param())
return;

- acpi_processor_cstate_first_run_checks();
-
if (!acpi_processor_get_power_info(pr))
pr->flags.power_setup_done = 1;

--
2.33.0