diff options
author | Xiaofei Tan <tanxiaofei@huawei.com> | 2021-05-12 11:26:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-13 18:29:12 +0200 |
commit | eb460edb5f831c976144bc298564c14072860134 (patch) | |
tree | 1768cc11572fcb39f6ad6f629bb25b4884f17f7e /drivers/tty/tty_baudrate.c | |
parent | tty: nozomi: Fix a resource leak in an error handling function (diff) | |
download | linux-eb460edb5f831c976144bc298564c14072860134.tar.xz linux-eb460edb5f831c976144bc298564c14072860134.zip |
tty: tty_baudrate: Remove unnecessary tab and spaces in comment sentence
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>
Diffstat (limited to 'drivers/tty/tty_baudrate.c')
-rw-r--r-- | drivers/tty/tty_baudrate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/tty_baudrate.c b/drivers/tty/tty_baudrate.c index 48b5de659c77..b3f5ba95e03c 100644 --- 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; |