mm: cleanup register_node()
authorYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Wed, 12 Dec 2012 00:02:52 +0000 (16:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Dec 2012 01:22:27 +0000 (17:22 -0800)
commitfa264375175a382621c5344a6508e02ec4d1c3c0
treee0641d14919f69c39db1e53353e3b5e21c1b455f
parent212a0a6f28dda0a1e732d20d57abb465750d473c
mm: cleanup register_node()

register_node() is defined as extern in include/linux/node.h.  But the
function is only called from register_one_node() in driver/base/node.c.

So the patch defines register_node() as static.

Signed-off-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/base/node.c
include/linux/node.h