Commit eeeff53
s390/cpum_sf: simplify function setup_pmu_cpu
Print the error message when the FAILURE flag is set.
This saves on pr_err statement as the text of the error message
is identical in both failures.
Also observe reverse Xmas tree variable declarations in this function.
No functional change.
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>1 parent f4767f9 commit eeeff53
1 file changed
Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
598 | 597 | | |
| 598 | + | |
599 | 599 | | |
600 | | - | |
601 | 600 | | |
602 | 601 | | |
603 | 602 | | |
| |||
606 | 605 | | |
607 | 606 | | |
608 | 607 | | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | 608 | | |
613 | 609 | | |
614 | 610 | | |
615 | 611 | | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
| 612 | + | |
620 | 613 | | |
621 | 614 | | |
622 | 615 | | |
623 | | - | |
| 616 | + | |
624 | 617 | | |
| 618 | + | |
| 619 | + | |
625 | 620 | | |
626 | 621 | | |
627 | 622 | | |
| |||
0 commit comments