OSDN Git Service

net: wan: replace comparison to NULL with "!card"
authorPeng Li <lipeng321@huawei.com>
Mon, 24 May 2021 14:47:15 +0000 (22:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2021 21:07:38 +0000 (14:07 -0700)
commit336d781bd952beb1a043b786ced65883d67c34bd
treea5b7bc9f0952f2519ec3a48635481dccb5af4ba6
parent87feef1cfbbe9233c53d5c4ff03277b70b58c458
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/wanxl.c