OSDN Git Service

net: farsync: replace comparison to NULL with "fst_card_array[i]"
authorPeng Li <lipeng321@huawei.com>
Tue, 8 Jun 2021 08:12:42 +0000 (16:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jun 2021 19:04:05 +0000 (12:04 -0700)
commitf23a3da78a31d2ec7029c9637bf57ec892ada40c
tree852c641e7d8b865d28feb181c2e680d3944e49b4
parentf01f906ffefc71e5d370e7542884820d1318358b
net: farsync: replace comparison to NULL with "fst_card_array[i]"

According to the chackpatch.pl, comparison to NULL could
be written "fst_card_array[i]".

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