diff options
author | 2025-04-09 08:50:26 +0800 | |
---|---|---|
committer | 2025-04-10 14:17:12 +0200 | |
commit | 0edd1d13de5eb325dd9a6b39fccfc52d022effe2 (patch) | |
tree | 567f5a8fe45cf9551a793f2de56fb841d02ca839 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ACPI: processor: idle: Set pr->flags.power unconditionally (diff) | |
download | linux-rng-0edd1d13de5eb325dd9a6b39fccfc52d022effe2.tar.xz linux-rng-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 <rui.zhang@intel.com>
Link: https://patch.msgid.link/20250409005026.1932637-3-rui.zhang@intel.com
[ rjw: Removed unused variable, fixed up white space ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions