]> 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>
Mon, 12 Nov 2012 04:17:12 +0000 (15:17 +1100)
commitb90121b4b302bcda0dfcd1e6f1fe349cc322dbf9
tree8f7871bd37ca33d7a619e30ddddde7ac84d1ecc4
parent5c14fd990f476b6f961c2b1b31f8201264b6e3aa
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