Commit ba874a8
soundwire: intel: simplify return path in hw_params
Remove unused error path (label+goto) to make the code a bit simpler.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>1 parent 1f93cb2 commit ba874a8
1 file changed
+6
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
743 | 743 | | |
744 | 744 | | |
745 | 745 | | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
| 746 | + | |
| 747 | + | |
750 | 748 | | |
751 | 749 | | |
752 | 750 | | |
| |||
763 | 761 | | |
764 | 762 | | |
765 | 763 | | |
766 | | - | |
| 764 | + | |
767 | 765 | | |
768 | 766 | | |
769 | 767 | | |
| |||
774 | 772 | | |
775 | 773 | | |
776 | 774 | | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
| 775 | + | |
| 776 | + | |
781 | 777 | | |
782 | 778 | | |
783 | 779 | | |
| |||
788 | 784 | | |
789 | 785 | | |
790 | 786 | | |
791 | | - | |
| 787 | + | |
792 | 788 | | |
793 | 789 | | |
794 | 790 | | |
| |||
0 commit comments