aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorZhang Rui <[email protected]>2025-04-09 00:50:26 +0000
committerRafael J. Wysocki <[email protected]>2025-04-10 12:17:12 +0000
commit0edd1d13de5eb325dd9a6b39fccfc52d022effe2 (patch)
tree567f5a8fe45cf9551a793f2de56fb841d02ca839 /rust/helpers/platform.c
parentACPI: processor: idle: Set pr->flags.power unconditionally (diff)
downloadkernel-0edd1d13de5eb325dd9a6b39fccfc52d022effe2.tar.gz
kernel-0edd1d13de5eb325dd9a6b39fccfc52d022effe2.zip
ACPI: processor: idle: Remove redundant pr->power.count assignment
pr->power.count stands for the number of valid processor cstates. And it is correctly set with the return value of acpi_processor_power_verify(), in acpi_processor_get_cstate_info(). Remove the redundant logic that unnecessarily overrides pr->power.count value. No functional change intended. Signed-off-by: Zhang Rui <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: Removed unused variable, fixed up white space ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions