mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
usb: dwc3: ep0: simplify error handling on dwc3_ep0_inspect_setup
There's no need for returning early. Instead, we can call dwc3_ep0_stall_and_restart() conditionally. Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
5cbe8c220c
commit
ef21ede65e
1 changed files with 5 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue