]> git.baikalelectronics.ru Git - kernel.git/commit
net: hostess_sv11: move out assignment in if condition
authorPeng Li <lipeng321@huawei.com>
Fri, 18 Jun 2021 02:32:19 +0000 (10:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jun 2021 18:42:39 +0000 (11:42 -0700)
commit739ffec8e107fd7ca081c3928b855bee4f03fcb8
tree1b597ab52a2e1678732076410c66af5ff467c43a
parent40827d751ecb0de51c5a7eeacf8e2b6b11950d37
net: hostess_sv11: move out assignment in if condition

Should not use assignment in if condition.

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