]> 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)
commit744171e70f8fdd661ae20ecb00abeb377497ec6c
treef61987708f88a10c4bdf8470b791cbd0fe68fc32
parent251ab811e23909fb779afcc6cf04e094f4a7c444
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