]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xhci: Remove dead code in xhci_move_dequeue_past_td()
authorHector Martin <marcan@marcan.st>
Wed, 26 Jun 2024 12:48:15 +0000 (15:48 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jun 2024 14:08:05 +0000 (16:08 +0200)
commite6092feacf3f52b447fa2225453b566f32b998af
tree2b82a7f97dc67dffd4ffe212cd320d26d5857c00
parentee0d382feb44ec0f445e2ad63786cd7f3f6a8199
xhci: Remove dead code in xhci_move_dequeue_past_td()

This codepath is trivially dead, since the function is never called with
a non-NULL td (the only callsite is immediately preceded by a NULL guard).

[remove unused label 'deq_found' -Mathias]

Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240626124835.1023046-2-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c