linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sh: boards: Remove unnecessary break
@ 2021-04-09  7:12 Wan Jiabing
  0 siblings, 0 replies; only message in thread
From: Wan Jiabing @ 2021-04-09  7:12 UTC (permalink / raw)
  To: Yoshinori Sato, Rich Felker, Wan Jiabing, Al Viro, linux-sh,
	linux-kernel
  Cc: kael_w

There is a return above the break.
The break here is unnecessary. Remove it.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 arch/sh/boards/mach-landisk/gio.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/sh/boards/mach-landisk/gio.c b/arch/sh/boards/mach-landisk/gio.c
index ff2200fec29a..fd7a3283942f 100644
--- a/arch/sh/boards/mach-landisk/gio.c
+++ b/arch/sh/boards/mach-landisk/gio.c
@@ -106,7 +106,6 @@ static long gio_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
 		break;
 	default:
 		return -EFAULT;
-		break;
 	}
 
 	if ((cmd & 0x01) == 0) {	/* read */
-- 
2.25.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-09  7:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09  7:12 [PATCH] sh: boards: Remove unnecessary break Wan Jiabing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).