diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-08-04 22:25:00 +0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-08-08 00:32:34 +1000 |
commit | 81d7b08b3cec79a43411e7175401b369090dba29 (patch) | |
tree | 5048e578409790c2bb71f52c394db7e725a531a9 /arch/powerpc/lib | |
parent | 656ecc16e8fc2ab44b3d70e3fcc197a7020d0ca5 (diff) | |
download | linux-81d7b08b3cec79a43411e7175401b369090dba29.tar.bz2 |
powerpc/powermac: of_node_put() is not needed after iterator
for_each_node_by_name() iterators only exit normally when the loop
cursor is NULL, So there is no need to call of_node_put().
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Reviewed-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/lib')
0 files changed, 0 insertions, 0 deletions