diff options
author | Dou Liyang <douly.fnst@cn.fujitsu.com> | 2017-07-10 15:49:20 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-10 16:32:32 -0700 |
commit | a7be6e5a7f8da433065b23f98ff68f445113080a (patch) | |
tree | ada957b19769abb02d0dbea56aa84b67daa679b3 /mm | |
parent | 727c080f03e7e2e20e868efd461d4f1022b61d9b (diff) | |
download | op-kernel-dev-a7be6e5a7f8da433065b23f98ff68f445113080a.zip op-kernel-dev-a7be6e5a7f8da433065b23f98ff68f445113080a.tar.gz |
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/1498013846-20149-1-git-send-email-douly.fnst@cn.fujitsu.com
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: <isimatu.yasuaki@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions