]> Gentwo Git Trees - linux/.git/commit
usb: xhci: remove redundant update_ring_for_set_deq_completion() function
authorNiklas Neronin <niklas.neronin@linux.intel.com>
Thu, 6 Mar 2025 14:49:41 +0000 (16:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Mar 2025 15:46:15 +0000 (16:46 +0100)
commit856563be98b2e9cfc6ceaff12043763f50d089d2
treee3758950229c262ab47dda2a5e90a9b46302b148
parentb020761e8cbf6c0bb14b12095a61e85f77c6b8b9
usb: xhci: remove redundant update_ring_for_set_deq_completion() function

The function is a remnant from a previous implementation and is now
redundant. There is no longer a need to search for the dequeue pointer,
as both the TRB and segment dequeue pointers are saved within
'queued_deq_seg' and 'queued_deq_ptr'.

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/20250306144954.3507700-3-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c