powpc:feature: of_node_put is not needed after iterator.
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Aug 9 00:26:39 AEST 2018
On Sat, 2018-08-04 at 14:25:00 UTC, zhong jiang wrote:
> for_each_node_by_name iterators only exit normally when the loop
> cursor is NULL, So there is no point to call of_node_put.
>
> Signed-off-by: zhong jiang <zhongjiang at huawei.com>
> Reviewed-by: Tyrel Datwyler <tyreld at linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/81d7b08b3cec79a43411e7175401b3
cheers
More information about the Linuxppc-dev
mailing list