usb: dwc3: gadget: extract dwc3_gadget_ep_skip_trbs()

Extract the logic for skipping over TRBs to its own function. This
makes the code slightly more readable and makes it easier to move this
call to its final resting place as a following patch.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
1 file changed