]> git.baikalelectronics.ru Git - kernel.git/commit
net: lapbether: move out assignment in if condition
authorPeng Li <lipeng321@huawei.com>
Wed, 9 Jun 2021 09:39:49 +0000 (17:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jun 2021 21:02:58 +0000 (14:02 -0700)
commit56f56447281602751a1a7f70794bd56c8583e738
tree120702b0a64731800e83e6c0eb94d1d97510852a
parent3b986b960e782181dbab63c1378d003469cbafe8
net: lapbether: 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/lapbether.c