usb: dwc3: gadget: simplify __dwc3_gadget_ep_queue()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 5 Sep 2017 11:32:55 +0000 (14:32 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 19 Oct 2017 07:38:05 +0000 (10:38 +0300)
commit64e01080299784692ff291099cd8a5ee72e66d98
treedde0773c0ad5e66a9ecca5b449775bb0bf30b640
parentccb94ebf9e65ca722c98df3885c2e3dfe832260c
usb: dwc3: gadget: simplify __dwc3_gadget_ep_queue()

There is more possibility for sharing code if we just realise that now
__dwc3_gadget_kic_transfer() knows to break out early if there are no
TRBs left.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c