OSDN Git Service

net: pc300too: replace comparison to NULL with "!card->plxbase"
authorPeng Li <lipeng321@huawei.com>
Fri, 11 Jun 2021 03:36:20 +0000 (11:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 19:58:12 +0000 (12:58 -0700)
commit0cd2135cf83dd183d3fe05658e17b67b5f6cba86
treef3e4ac3115c3824c5891a8af9b81d50f985a31f3
parentae6440483b545176b888bfe74971aa40a5749d46
net: pc300too: replace comparison to NULL with "!card->plxbase"

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

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