Re: [RFC PATCH] usb: dwc3: gadget: Fix NULL pointer dereference in dwc3_gadget_suspend

From: Kuen-Han Tsai
Date: Wed Jan 17 2024 - 02:18:36 EST


> ret = dwc3_gadget_soft_disconnect(dwc);
> if (ret)
> goto err;

For improved readability, we can remove the goto statement and move
the error handling logic here.

Thanks,
Kuen-Han