OSDN Git Service

xhci: cleanup finish_td() skip option
authorMathias Nyman <mathias.nyman@linux.intel.com>
Thu, 15 Jun 2017 08:55:48 +0000 (11:55 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Jun 2017 20:17:46 +0000 (22:17 +0200)
commit3134bc9c52ed90c4aea5e4201eb13145cfd12b05
treeed4b8588a7ba9964caebaa823dd72e4c2a14b4a5
parentd36374fdfb259bac4511762bb349e69c6d093d37
xhci: cleanup finish_td() skip option

finish_td() could be called with a skip option to bypass most of the
function and only call xhci_td_cleanup() at the end.

Remove this skip option and call xhci_td_cleanup() directly instead
when needed

No functional changes

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