Skip to content

Commit 5ea8a88

Browse files
Epicuriusgregkh
authored andcommitted
usb: xhci: remove false xhci_giveback_urb_in_irq() header comment
The function doesn't releases and re-acquires the lock, this was removed in commit 36dc016 ("usb: host: xhci: Support running urb giveback in tasklet context") 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 d56b0b2 commit 5ea8a88

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/usb/host/xhci-ring.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -760,10 +760,6 @@ static void td_to_noop(struct xhci_hcd *xhci, struct xhci_ring *ep_ring,
760760
}
761761
}
762762

763-
/*
764-
* Must be called with xhci->lock held in interrupt context,
765-
* releases and re-acquires xhci->lock
766-
*/
767763
static void xhci_giveback_urb_in_irq(struct xhci_hcd *xhci,
768764
struct xhci_td *cur_td, int status)
769765
{

0 commit comments

Comments
 (0)