diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-09-16 21:22:31 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-17 08:20:11 -0700 |
commit | 1ddc5d3e5f1cf9ac8a6aad00b95a7a022e634ef4 (patch) | |
tree | 3a7e477ff2f29217485f352a226afe96eb45d316 /net/dsa | |
parent | 764ea3714a85bfc0e3e470cee2166b6ef911b9b9 (diff) | |
download | linux-1ddc5d3e5f1cf9ac8a6aad00b95a7a022e634ef4.tar.gz linux-1ddc5d3e5f1cf9ac8a6aad00b95a7a022e634ef4.tar.bz2 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/dsa')
0 files changed, 0 insertions, 0 deletions