From: Felipe Balbi Date: Mon, 23 Jan 2017 12:20:12 +0000 (+0200) Subject: usb: host: xhci: remove bogus __releases()/__acquires() annotation X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f3899a28e2b8a6f208187033789ac0f038d3c08e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git usb: host: xhci: remove bogus __releases()/__acquires() annotation handle_tx_event() is not releasing xhci->lock nor reacquiring it, remove the bogus annotation. Signed-off-by: Felipe Balbi Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 31518ddf2661..9084afb97a58 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -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;