]> git.baikalelectronics.ru Git - kernel.git/commit
net: cosa: replace comparison to NULL with "!chan->rx_skb"
authorPeng Li <lipeng321@huawei.com>
Wed, 16 Jun 2021 07:23:30 +0000 (15:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2021 07:52:33 +0000 (00:52 -0700)
commitba0ce8af4f4a75136ca58f5d86d985494a0ac52d
treed97f5b862da256cca715bb9e66a7c7f6d53a4ff7
parentdd1b07fe715671c7588b4214ac4a211db440bb46
net: cosa: replace comparison to NULL with "!chan->rx_skb"

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

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