mbox series

[0/2] drivers/tty: delete break after return or goto

Message ID 20201107032924.25044-1-bernard@vivo.com (mailing list archive)
Headers show
Series drivers/tty: delete break after return or goto | expand

Message

Bernard Zhao Nov. 7, 2020, 3:29 a.m. UTC
Hi, Greg:

This patch sereies delete code which never run:
{
case XXX:
	return XXX;
	break; //The break is meanless, so just delete it.
case YYY:
	goto YYY;
	break; //The break is meanless, so just delete it.
......
}

Bernard Zhao (2):
  tty/serial: delete break after return
  drivers/tty: delete break after goto/return

 drivers/tty/nozomi.c     | 4 ----
 drivers/tty/serial/imx.c | 5 -----
 2 files changed, 9 deletions(-)