summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelipe Balbi <[email protected]>2024-04-12 22:26:01 +0200
committerMattijs Korpershoek <[email protected]>2024-05-16 08:38:24 +0200
commit13395507ca1f48de25e70f4d27f709b1a4fa0a82 (patch)
tree51092202616cfc0d89c391eceb56823d54de2a2b /include
parent371b379edbf3488d77bc321dc5d2a0e22e067744 (diff)
usb: dwc3: gadget: combine return points into a single one
Upstream Linux commit c0ca324d09a0. 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 <[email protected]> Signed-off-by: Alexander Sverdlin <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions