lkml.org 
[lkml]   [2020]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] usb: remove unneeded break
From
Date
On 19.10.2020 18.02, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
>
> A break is not needed if it is preceded by a return or goto
>
> Signed-off-by: Tom Rix <trix@redhat.com>
> ---
> 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

\
 
 \ /
  Last update: 2020-10-26 15:22    [W:0.037 / U:1.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site