Commit eafd231
committed
ACPI: processor: idle: Remove redundant pr->power.count assignment
JIRA: https://issues.redhat.com/browse/RHEL-114091
commit 0edd1d1
Author: Zhang Rui <rui.zhang@intel.com>
Date: Thu, 10 Apr 2025 14:17:12 +0000
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>
Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>1 parent 708e994 commit eafd231
1 file changed
+0
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
473 | 472 | | |
474 | 473 | | |
475 | | - | |
476 | 474 | | |
477 | 475 | | |
478 | 476 | | |
| |||
491 | 489 | | |
492 | 490 | | |
493 | 491 | | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | 492 | | |
501 | 493 | | |
502 | 494 | | |
| |||
0 commit comments