]> git.baikalelectronics.ru Git - kernel.git/commit
net: hdlc_ppp: move out assignment in if condition
authorPeng Li <lipeng321@huawei.com>
Thu, 17 Jun 2021 14:03:17 +0000 (22:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jun 2021 19:08:46 +0000 (12:08 -0700)
commit358b9d14c5ac2eb29991a66d3e4468e8bb0bbc62
tree4df7777338d737f63637ac0bb4c4786e0e226505
parentd1391dfe08f5c5229b8735c75bda572ec2722835
net: hdlc_ppp: move out assignment in if condition

Should not use assignment in if condition.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/hdlc_ppp.c