ipack: iopctal: remove unneeded break
PATCH 1/1 ipack: iopctal: remove unneeded break
From: Tom Rix <[email protected]>
A break is not needed if it is preceded by a return
Signed-off-by Tom Rix <[email protected]>
--- drivers/ipack/devices/ipoctal.c | 1 - 1 file changed, 1 deletion(-)
drivers/ipack/devices/ipoctal.c +0 -1
@@ -544,7 +544,6 @@ static void ipoctal_set_termios(struct tty_struct *tty,break ;default :return ; -break ; } baud =tty_get_baud_rate (tty);
Signature · 1 line
2.18.1
Greg KH
maintainerQuoted 10 lines · Samuel Iglesias Gonsálvez
Hi Tom,
Thanks for the patch!
Patch is,
Greg, Would you mind picking this patch through your char-misc tree?
Will do after -rc1 is out.
thanks,
greg k-h
Hi Tom,
Thanks for the patch!
Patch is,
Greg, Would you mind picking this patch through your char-misc tree?
Thanks!
Sam
Quoted 23 lines · On Mon, 2020-10-19 at 12:32 -0700, [email protected] wrote:
From: Tom Rix <[email protected]>
A break is not needed if it is preceded by a return
Signed-off-by Tom Rix <[email protected]>--- drivers/ipack/devices/ipoctal.c | 1 - 1 file changed, 1 deletion(-)drivers/ipack/devices/ipoctal.c +0
-1@@ -544,7 +544,6 @@ static void ipoctal_set_termios(struct tty_struct *tty, break;default :return ; -break ; }baud =
tty_get_baud_rate(tty);