OSDN Git Service

net: c101: replace comparison to NULL with "!card"
authorPeng Li <lipeng321@huawei.com>
Sat, 19 Jun 2021 07:28:37 +0000 (15:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jun 2021 19:37:28 +0000 (12:37 -0700)
commit7774318b9e5eb8ecfb42be04d65ff8ac657b5faa
tree58cc3048ea67e768e2d6ced9d95510cb8a78d93d
parent4f7d2247f839c8cf266662a83238c85ef21ea9c6
net: c101: 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: David S. Miller <davem@davemloft.net>
drivers/net/wan/c101.c