Re: [PATCH v1 2/2] ACPI: processor: idle: Redefine two functions as void
From: lihuisong (C)
Date: Sun Sep 21 2025 - 21:17:59 EST
在 2025/9/19 5:10, Rafael J. Wysocki 写道:
From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>LGTM,
Notice that acpi_processor_power_init() and acpi_processor_power_exit()
don't need to return any values because their callers don't check them
anyway, so redefine those functions as void.
While at it, rearrange the code in acpi_processor_power_init() to
reduce the indentation level, get rid of a redundant local variable
in that function, and rephrase a code comment in it.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
Acked-by: lihuisong@xxxxxxxxxx