]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit387847f295c86fe72693178ed1eab000154f98ff
tree48929d63b46cfe3c77a0fff8d2aab203731007d8
parent01506939cc8466635fb05711a79f8eb2b5df1ff3
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