Commit 0edd1d1
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]>1 parent 8fa2f8b commit 0edd1d1
1 file changed
+0
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
464 | | - | |
465 | 464 | | |
466 | 465 | | |
467 | | - | |
468 | 466 | | |
469 | 467 | | |
470 | 468 | | |
| |||
483 | 481 | | |
484 | 482 | | |
485 | 483 | | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | 484 | | |
493 | 485 | | |
494 | 486 | | |
| |||
0 commit comments