OSDN Git Service

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)
commit2076b3e61a323e38256be44289aa32ae12ecf79a
treed97f5b862da256cca715bb9e66a7c7f6d53a4ff7
parent77282db510d9fe4d77c1d79fb4563d5368e1d2b2
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