Commit b44c0ce
usb: xhci: remove duplicate TRB_TO_SLOT_ID() calls
Remove unnecessary repeated calls to TRB_TO_SLOT_ID(). The slot ID is
stored in the 'slot_id' variable at the function's start.
Signed-off-by: Niklas Neronin <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent d6b2b69 commit b44c0ce
1 file changed
+6
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2723 | 2723 | | |
2724 | 2724 | | |
2725 | 2725 | | |
2726 | | - | |
2727 | | - | |
2728 | | - | |
2729 | | - | |
| 2726 | + | |
| 2727 | + | |
2730 | 2728 | | |
2731 | 2729 | | |
2732 | 2730 | | |
2733 | 2731 | | |
2734 | 2732 | | |
2735 | 2733 | | |
2736 | | - | |
2737 | | - | |
2738 | | - | |
2739 | | - | |
| 2734 | + | |
| 2735 | + | |
2740 | 2736 | | |
2741 | 2737 | | |
2742 | 2738 | | |
| |||
2795 | 2791 | | |
2796 | 2792 | | |
2797 | 2793 | | |
2798 | | - | |
2799 | | - | |
2800 | | - | |
| 2794 | + | |
| 2795 | + | |
2801 | 2796 | | |
2802 | 2797 | | |
2803 | 2798 | | |
| |||
0 commit comments