Commit 608b973
usb: xhci: remove goto 'cleanup' in handle_tx_event()
By removing the goto 'cleanup' statement, and replacing it with 'continue',
'break' and 'return', helps simplify the code and further showcase in which
case the while loop iterates.
This change prepares for the comprehensive handle_tx_event() rework.
Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240429140245.3955523-14-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 26dffa4 commit 608b973
1 file changed
Lines changed: 21 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2727 | 2727 | | |
2728 | 2728 | | |
2729 | 2729 | | |
2730 | | - | |
| 2730 | + | |
| 2731 | + | |
| 2732 | + | |
2731 | 2733 | | |
2732 | 2734 | | |
2733 | 2735 | | |
2734 | 2736 | | |
2735 | 2737 | | |
2736 | 2738 | | |
2737 | 2739 | | |
2738 | | - | |
| 2740 | + | |
| 2741 | + | |
| 2742 | + | |
2739 | 2743 | | |
2740 | 2744 | | |
2741 | 2745 | | |
| |||
2770 | 2774 | | |
2771 | 2775 | | |
2772 | 2776 | | |
2773 | | - | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
2774 | 2780 | | |
2775 | 2781 | | |
2776 | 2782 | | |
| |||
2834 | 2840 | | |
2835 | 2841 | | |
2836 | 2842 | | |
2837 | | - | |
| 2843 | + | |
2838 | 2844 | | |
2839 | 2845 | | |
2840 | 2846 | | |
2841 | 2847 | | |
2842 | 2848 | | |
2843 | 2849 | | |
2844 | | - | |
| 2850 | + | |
2845 | 2851 | | |
2846 | 2852 | | |
2847 | 2853 | | |
| |||
2926 | 2932 | | |
2927 | 2933 | | |
2928 | 2934 | | |
2929 | | - | |
2930 | | - | |
2931 | | - | |
2932 | | - | |
| 2935 | + | |
| 2936 | + | |
2933 | 2937 | | |
2934 | | - | |
2935 | | - | |
2936 | | - | |
2937 | | - | |
2938 | | - | |
2939 | | - | |
2940 | | - | |
2941 | | - | |
| 2938 | + | |
| 2939 | + | |
| 2940 | + | |
| 2941 | + | |
| 2942 | + | |
| 2943 | + | |
| 2944 | + | |
| 2945 | + | |
2942 | 2946 | | |
2943 | 2947 | | |
2944 | 2948 | | |
| |||
0 commit comments