Re: [PATCH] mm: Drop useless local parameters of register_one_node()
From: David Rientjes
Date: Fri Jun 09 2017 - 18:33:23 EST
On Thu, 8 Jun 2017, Dou Liyang wrote:
> ... initializes local parameters "p_node" & "parent" for
> register_node().
>
> But, register_node() does not use them.
>
> Remove the related code of "parent" node, cleanup register_one_node()
> and register_node().
>
> [Test in Qemu by 4 hotpluggable nodes in x86-64 system]
>
> Signed-off-by: Dou Liyang <douly.fnst@xxxxxxxxxxxxxx>
Acked-by: David Rientjes <rientjes@xxxxxxxxxx>