Thread (2 messages) 2 messages, 2 authors, 2021-11-16
STALE1708d

[PATCH] tty: serial: jsm: jsm_neo: fixed a conditional statement coding style issue

From: Sahil Patidar <hidden>
Date: 2021-11-16 10:34:36
Also in: lkml
Subsystem: jsm neo pci based serial card, the rest, tty layer and serial drivers · Maintainers: Linus Torvalds, Greg Kroah-Hartman, Jiri Slaby

Fixed a coding style issue

Signed-off-by: Sahil Patidar <redacted>
---
 drivers/tty/serial/jsm/jsm_neo.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/tty/serial/jsm/jsm_neo.c b/drivers/tty/serial/jsm/jsm_neo.c
index c6f927a76c3b..9b828989d13f 100644
--- a/drivers/tty/serial/jsm/jsm_neo.c
+++ b/drivers/tty/serial/jsm/jsm_neo.c
@@ -668,8 +668,7 @@ static void neo_flush_uart_read(struct jsm_channel *ch)
 			jsm_dbg(IOCTL, &ch->ch_bd->pci_dev,
 				"Still flushing RX UART... i: %d\n", i);
 			udelay(10);
-		}
-		else
+		} else
 			break;
 	}
 }
-- 
2.33.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help