[PATCH] cxl: Delete an unnecessary check before the function call "of_node_put"
Andrew Donnellan
andrew.donnellan at au1.ibm.com
Wed Jul 27 18:57:07 AEST 2016
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 at au1.ibm.com IBM Australia Limited
More information about the Linuxppc-dev
mailing list