Commit ee680c1
committed
PM: hibernate: Combine return paths in power_down()
JIRA: https://issues.redhat.com/browse/RHEL-109250
commit 1f5bcfe
Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Date: Fri Sep 26 18:41:21 2025 +0200
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>
Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>1 parent 7fe8377 commit ee680c1
1 file changed
+14
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
| 663 | + | |
| 664 | + | |
675 | 665 | | |
676 | | - | |
677 | | - | |
| 666 | + | |
| 667 | + | |
678 | 668 | | |
679 | 669 | | |
680 | 670 | | |
| |||
685 | 675 | | |
686 | 676 | | |
687 | 677 | | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | 678 | | |
692 | 679 | | |
693 | | - | |
| 680 | + | |
694 | 681 | | |
695 | 682 | | |
696 | 683 | | |
| |||
709 | 696 | | |
710 | 697 | | |
711 | 698 | | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
712 | 708 | | |
713 | 709 | | |
714 | 710 | | |
| |||
0 commit comments