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 <niklas.neronin@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240429140245.3955523-18-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent d6b2b69 commit b44c0ce
1 file changed
Lines changed: 6 additions & 11 deletions
| 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