Messages in this thread | | | Subject | Re: [PATCH] usb: remove unneeded break | From | Mathias Nyman <> | Date | Mon, 26 Oct 2020 16:23:47 +0200 |
| |
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
| |