]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: cleanup register_node()
authorYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Thu, 29 Nov 2012 03:17:27 +0000 (14:17 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:11 +0000 (16:23 +1100)
commit15983dc217ef38058f5ece1e8016c6ef67a1cc49
treeed98c78952cf7c21d1f07192e4f20cb94de79f70
parentc53444978602e6255e532f381dd92a870e0dc137
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>
drivers/base/node.c
include/linux/node.h