usb: dwc3: gadget: abolish trbs_left
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 24 Aug 2016 11:37:22 +0000 (14:37 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 25 Aug 2016 09:13:20 +0000 (12:13 +0300)
commit7ae7df4982af6aed25c5e9e71b91027a494149de
tree14507120e6cbc5056ab9225f4e48cfc6a3e701de
parentba1582f22231821c57534e87b077d84adbc15dbd
usb: dwc3: gadget: abolish trbs_left

Instead, we can always rely on dwc3_calc_trbs_left()
directly.

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