]> git.baikalelectronics.ru Git - kernel.git/commit
tty: tty_ldisc: Do not use assignment in if condition
authorXiaofei Tan <tanxiaofei@huawei.com>
Wed, 7 Apr 2021 07:06:49 +0000 (15:06 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Apr 2021 08:33:00 +0000 (10:33 +0200)
commit57cc05e5989dc4603477beee498316c76b2c04ec
treef61987708f88a10c4bdf8470b791cbd0fe68fc32
parent910579be6b13bdbf36cc06e7a07feb1348b4c812
tty: tty_ldisc: Do not use assignment in if condition

Do not use assignment in if condition following the advice of
checkpatch.pl.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Link: https://lore.kernel.org/r/1617779210-51576-10-git-send-email-tanxiaofei@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_ldisc.c