lkml.org 
[lkml]   [2021]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] tty: serial: jsm: jsm_neo: fixed a conditional statement coding style issue
Date
Fixed a coding style issue

Signed-off-by: Sahil Patidar <sahilpatidar4051@gmail.com>
---
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
\
 
 \ /
  Last update: 2021-11-16 11:35    [W:0.073 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site