]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: cleanup register_node()
authorYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Fri, 9 Nov 2012 03:04:33 +0000 (14:04 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 9 Nov 2012 03:08:50 +0000 (14:08 +1100)
commitcc3b169dd120d58e39501bde186d051a936c02ff
tree747b73d89ab23b67b8deb21af1f22d15f05d8596
parent40ca0b6e328e11e85184b71b624c3550f2bc71c0
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