Re: [PATCH] usb: remove unneeded break

From: Mathias Nyman
Date: Mon Oct 26 2020 - 10:22:26 EST


On 19.10.2020 18.02, trix@xxxxxxxxxx wrote:
> From: Tom Rix <trix@xxxxxxxxxx>
>
> A break is not needed if it is preceded by a return or goto
>
> Signed-off-by: Tom Rix <trix@xxxxxxxxxx>
> ---
> drivers/usb/gadget/function/f_hid.c | 9 ---------
> drivers/usb/host/xhci-mem.c | 1 -
> drivers/usb/misc/iowarrior.c | 3 ---
> drivers/usb/serial/iuu_phoenix.c | 2 --
> drivers/usb/storage/freecom.c | 1 -
> 5 files changed, 16 deletions(-)

Would probably be better to split this into several patches.
The xhci change looks good (as a separate patch)

-Mathias