]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm: cleanup register_node()
authorYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Thu, 15 Nov 2012 02:37:55 +0000 (13:37 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Nov 2012 06:25:50 +0000 (17:25 +1100)
commit948a1a06417f15e7be12a8823f8534a36e1169f6
treef2fb16daf61f32542fc0bab4f12ebe177be04f96
parentd6600584abbbc63b3e275c69857a9fb18a5619e2
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