Commit 1f5bcfe
committed
PM: hibernate: Combine return paths in power_down()
To avoid code duplication and improve clarity, combine the code
paths in power_down() leading to a return from that function.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Link: https://patch.msgid.link/3571055.QJadu78ljV@rafael.j.wysocki
[ rjw: Changed the new label name to "exit" ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent 6f4c6f9 commit 1f5bcfe
1 file changed
Lines changed: 14 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
708 | 708 | | |
709 | 709 | | |
710 | 710 | | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
| 711 | + | |
| 712 | + | |
723 | 713 | | |
724 | | - | |
725 | | - | |
| 714 | + | |
| 715 | + | |
726 | 716 | | |
727 | 717 | | |
728 | 718 | | |
| |||
733 | 723 | | |
734 | 724 | | |
735 | 725 | | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | 726 | | |
740 | 727 | | |
741 | | - | |
| 728 | + | |
742 | 729 | | |
743 | 730 | | |
744 | 731 | | |
| |||
757 | 744 | | |
758 | 745 | | |
759 | 746 | | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
760 | 756 | | |
761 | 757 | | |
762 | 758 | | |
| |||
0 commit comments