]> 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>
Tue, 13 Nov 2012 05:15:38 +0000 (16:15 +1100)
commitaad346e37bb6f0495d5507316bc079a60a26efb7
tree244437b5ae0bb310fb5803727aa96507ce5eb722
parent8a7c8edc01359a38bf73d08b7eff49387dd32ebc
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