OSDN Git Service

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)
commitfe9be8daef8a7e6bd539fa57a9e14c6b4f8261f7
tree1b597ab52a2e1678732076410c66af5ff467c43a
parentfefed8af5ed40b861ee4d95c3e32804e7a33df96
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