diff options
author | zhong jiang | 2018-09-16 15:22:31 +0200 |
---|---|---|
committer | David S. Miller | 2018-09-17 17:20:11 +0200 |
commit | 1ddc5d3e5f1cf9ac8a6aad00b95a7a022e634ef4 (patch) | |
tree | 3a7e477ff2f29217485f352a226afe96eb45d316 /net | |
parent | net: usb: remove redundant null pointer check before of_node_put (diff) | |
download | kernel-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