]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f071485d4f2c6bc098fe7fe3e3b49a56aff64cd
tree852c641e7d8b865d28feb181c2e680d3944e49b4
parent9b5853f41c712f8ee30ffa42e31ef4f5086ec74a
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