]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ca49aea46c077eefec836528b80e8b1f7ca94fa
treea5b7bc9f0952f2519ec3a48635481dccb5af4ba6
parentc90d75ebf46d40ae4a357a0b0ed1acafa2115181
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