Re: [PATCH] usb: remove unneeded break

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux