]> Git Repo - linux.git/commit
mm: drop useless local parameters of __register_one_node()
authorDou Liyang <[email protected]>
Mon, 10 Jul 2017 22:49:20 +0000 (15:49 -0700)
committerLinus Torvalds <[email protected]>
Mon, 10 Jul 2017 23:32:32 +0000 (16:32 -0700)
commita7be6e5a7f8da433065b23f98ff68f445113080a
treeada957b19769abb02d0dbea56aa84b67daa679b3
parent727c080f03e7e2e20e868efd461d4f1022b61d9b
mm: drop useless local parameters of __register_one_node()

__register_one_node() 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().

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Dou Liyang <[email protected]>
Acked-by: David Rientjes <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/base/node.c
This page took 0.070175 seconds and 4 git commands to generate.