linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ipack: iopctal: remove unneeded break
@ 2020-10-19 19:32 trix
  2020-10-20  5:50 ` [Industrypack-devel] " Samuel Iglesias Gonsálvez
  0 siblings, 1 reply; 3+ messages in thread
From: trix @ 2020-10-19 19:32 UTC (permalink / raw)
  To: siglesias, jens.taprogge, gregkh, arnd
  Cc: industrypack-devel, linux-kernel, Tom Rix

From: Tom Rix <trix@redhat.com>

A break is not needed if it is preceded by a return

Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/ipack/devices/ipoctal.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/ipack/devices/ipoctal.c b/drivers/ipack/devices/ipoctal.c
index d480a514c983..3940714e4397 100644
--- a/drivers/ipack/devices/ipoctal.c
+++ b/drivers/ipack/devices/ipoctal.c
@@ -544,7 +544,6 @@ static void ipoctal_set_termios(struct tty_struct *tty,
 		break;
 	default:
 		return;
-		break;
 	}
 
 	baud = tty_get_baud_rate(tty);
-- 
2.18.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-20  6:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19 19:32 [PATCH] ipack: iopctal: remove unneeded break trix
2020-10-20  5:50 ` [Industrypack-devel] " Samuel Iglesias Gonsálvez
2020-10-20  6:03   ` Greg KH

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).