]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: host: xhci: remove bogus __releases()/__acquires() annotation
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 23 Jan 2017 12:20:12 +0000 (14:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 09:59:06 +0000 (10:59 +0100)
handle_tx_event() is not releasing xhci->lock nor reacquiring it, remove
the bogus annotation.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c

index 31518ddf2661807412d96ca3228ae8c597723492..9084afb97a58c352458f4075a25d331e87a5400b 100644 (file)
@@ -2223,8 +2223,6 @@ finish_td:
  */
 static int handle_tx_event(struct xhci_hcd *xhci,
                struct xhci_transfer_event *event)
-       __releases(&xhci->lock)
-       __acquires(&xhci->lock)
 {
        struct xhci_virt_device *xdev;
        struct xhci_virt_ep *ep;