commit | c0ca324d09a041ab56be1aaeb5a7cc64c47f877b | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Apr 04 09:11:51 2016 +0300 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Apr 18 15:23:39 2016 +0300 |
tree | c39c2499819931c5c85fafcd96f561f0f1cad641 | |
parent | e4875bd4829c1a945bc4714ca806a823a169f3a1 [diff] |
usb: dwc3: gadget: combine return points into a single one dwc3_send_gadget_ep_cmd() had three return points. That becomes a pain to track when we need to debug something or if we need to add more code before returning. Let's combine all three return points into a single one just by introducing a local 'ret' variable. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>