[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201107032924.25044-1-bernard@vivo.com>
Date: Fri, 6 Nov 2020 19:29:22 -0800
From: Bernard Zhao <bernard@...o.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Cc: opensource.kernel@...o.com, Bernard Zhao <bernard@...o.com>
Subject: [PATCH 0/2] drivers/tty: delete break after return or goto
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(-)
--
2.29.0
Powered by blists - more mailing lists