projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31a9a31
)
tty: tty_baudrate: Remove unnecessary tab and spaces in comment sentence
author
Xiaofei Tan
<tanxiaofei@huawei.com>
Wed, 12 May 2021 09:26:09 +0000
(17:26 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 13 May 2021 16:29:12 +0000
(18:29 +0200)
Remove unnecessary tab and spaces in comment sentence, reported
by checkpatch.pl.
Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Link:
https://lore.kernel.org/r/1620811585-18582-2-git-send-email-tanxiaofei@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_baudrate.c
patch
|
blob
|
history
diff --git
a/drivers/tty/tty_baudrate.c
b/drivers/tty/tty_baudrate.c
index
48b5de6
..
b3f5ba9
100644
(file)
--- a/
drivers/tty/tty_baudrate.c
+++ b/
drivers/tty/tty_baudrate.c
@@
-147,7
+147,7
@@
void tty_termios_encode_baud_rate(struct ktermios *termios,
int iclose = ibaud/50, oclose = obaud/50;
int ibinput = 0;
- if (obaud == 0) /* CD dropped
*/
+ if (obaud == 0) /* CD dropped */
ibaud = 0; /* Clear ibaud to be sure */
termios->c_ispeed = ibaud;