net: pc300too: move out assignment in if condition
authorPeng Li <lipeng321@huawei.com>
Fri, 11 Jun 2021 03:36:18 +0000 (11:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 19:58:11 +0000 (12:58 -0700)
commitd72f78db55d6daa4542668de1b2cb4f974708a99
tree95ada6083855067d6d7aa12796e5c5b3c706cbc0
parentf8864e26d3118ccf91d6a1ae5cdd18f4b56b7704
net: pc300too: 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/pc300too.c