Re: [PATCH] cxl: Delete an unnecessary check before the function call "of_node_put"

From: Andrew Donnellan
Date: Wed Jul 27 2016 - 04:58:11 EST


On 20/07/16 23:38, Julia Lawall wrote:
I don't think that the call should be there at all. The loop only exits
when afu_np is NULL. Furthermore, the loop should not be written as a for
loop, but rather with for_each_child_of_node.

Will send a patch to fix both issues shortly.

--
Andrew Donnellan OzLabs, ADL Canberra
andrew.donnellan@xxxxxxxxxxx IBM Australia Limited