]> git.baikalelectronics.ru Git - kernel.git/commit
net: hdlc: replace comparison to NULL with "!param"
authorPeng Li <lipeng321@huawei.com>
Tue, 1 Jun 2021 13:23:20 +0000 (21:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Jun 2021 23:57:47 +0000 (16:57 -0700)
commitb9c42af88a106fa0422e45b88d04548db7cea6f5
tree48929d63b46cfe3c77a0fff8d2aab203731007d8
parenta763eebf08537164340dc8d7844c29902b213fec
net: hdlc: replace comparison to NULL with "!param"

According to the chackpatch.pl, comparison to NULL could
be written "!param".

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