summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorzhong jiang2018-09-16 15:22:31 +0200
committerDavid S. Miller2018-09-17 17:20:11 +0200
commit1ddc5d3e5f1cf9ac8a6aad00b95a7a022e634ef4 (patch)
tree3a7e477ff2f29217485f352a226afe96eb45d316 /net
parentnet: usb: remove redundant null pointer check before of_node_put (diff)
downloadkernel-qcow2-linux-1ddc5d3e5f1cf9ac8a6aad00b95a7a022e634ef4.tar.gz
kernel-qcow2-linux-1ddc5d3e5f1cf9ac8a6aad00b95a7a022e634ef4.tar.xz
kernel-qcow2-linux-1ddc5d3e5f1cf9ac8a6aad00b95a7a022e634ef4.zip
net: dsa: remove redundant null pointer check before of_node_put
of_node_put has taken the null pointer check into account. So it is safe to remove the duplicated check before of_node_put. Signed-off-by: zhong jiang <zhongjiang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions