net: wan: replace comparison to NULL with "!card"
authorPeng Li <lipeng321@huawei.com>
Tue, 25 May 2021 14:07:57 +0000 (22:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 May 2021 22:41:54 +0000 (15:41 -0700)
commit2aea27bae89b14e624bdc53a5e5af5a004e68058
tree7f7b4c6323ec9efb2d8d3fbdb3e7f6e88cf90e46
parent69542276e2b12d2a02af5fb523fe409bd0983f10
net: wan: replace comparison to NULL with "!card"

According to the chackpatch.pl, comparison to NULL could
be written "!card".

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/n2.c