diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-01-23 13:20:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-25 10:59:06 +0100 |
commit | f3899a28e2b8a6f208187033789ac0f038d3c08e (patch) | |
tree | 956572097cce70590657b77e12a16b3e3586eb18 /drivers/usb/host/xhci-ring.c | |
parent | usb: host: xhci: introduce xhci_td_cleanup() (diff) | |
download | linux-f3899a28e2b8a6f208187033789ac0f038d3c08e.tar.xz linux-f3899a28e2b8a6f208187033789ac0f038d3c08e.zip |
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 <felipe.balbi@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
-rw-r--r-- | drivers/usb/host/xhci-ring.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |