lkml.org 
[lkml]   [2020]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] drivers/tty: delete break after goto/return
On Fri, Nov 06, 2020 at 07:29:24PM -0800, Bernard Zhao wrote:
> Delete break after goto/return, which will never run.
>
> Signed-off-by: Bernard Zhao <bernard@vivo.com>
> ---
> drivers/tty/nozomi.c | 4 ----
> 1 file changed, 4 deletions(-)

If you look at the commits for this file:

$ git log --oneline drivers/tty/nozomi.c | head -n 5
1a460c36078e tty: nozomi: remove unneeded break
caa47cc63947 tty: nozomi: Use scnprintf() for avoiding potential buffer overflow
e2c2e7987106 tty: nozomi: fix spelling mistake "reserverd" -> "reserved"
18b1345e60ae tty: nozomi: Use dev_get_drvdata
c392ed464205 tty/nozomi: use pci_iomap instead of ioremap_nocache

You will notice that you should probably put the driver name in the
subject line. Otherwise this patch really looks like you are doing this
action on all of drivers/tty/ right?

Same for patch 1/2 as was pointed out by others.

thanks,

greg k-h

\
 
 \ /
  Last update: 2020-11-09 10:45    [W:0.049 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site