diff options
| author | Huisong Li <lihuisong@huawei.com> | 2026-03-11 14:50:38 +0800 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-03-11 19:26:28 +0100 |
| commit | 4d613fb1ea0516e1f69d3a4ebfbf2572d5da5368 (patch) | |
| tree | 5033788c22c383a4e3416f5e29070a5f3ed4da6e /include/asm-x86/git@git.tavy.me:linux.git | |
| parent | 1f23194c8b8208bf3a43beb6c97d4c843197b6f6 (diff) | |
ACPI: processor: idle: Remove redundant static variable and rename cstate check function
The function acpi_processor_cstate_first_run_checks() is currently called
only once during initialization in acpi_processor_register_idle_driver().
Since its execution is already limited by the caller's lifecycle, the
internal static 'first_run' variable is redundant and can be safely
removed.
Additionally, the current function name is no longer descriptive of its
behavior, so rename the function to acpi_processor_update_max_cstate()
to better reflect its actual purpose.
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Link: https://patch.msgid.link/20260311065038.4151558-4-lihuisong@huawei.com
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/asm-x86/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
