diff options
author | Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> | 2012-12-11 19:02:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-11 20:22:27 -0500 |
commit | fa264375175a382621c5344a6508e02ec4d1c3c0 (patch) | |
tree | e0641d14919f69c39db1e53353e3b5e21c1b455f /include/linux/node.h | |
parent | 212a0a6f28dda0a1e732d20d57abb465750d473c (diff) |
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/node.h')
-rw-r--r-- | include/linux/node.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/node.h b/include/linux/node.h index 10316f1c68a9..2115ad5d6f19 100644 --- a/include/linux/node.h +++ b/include/linux/node.h | |||
@@ -30,7 +30,6 @@ struct memory_block; | |||
30 | extern struct node *node_devices[]; | 30 | extern struct node *node_devices[]; |
31 | typedef void (*node_registration_func_t)(struct node *); | 31 | typedef void (*node_registration_func_t)(struct node *); |
32 | 32 | ||
33 | extern int register_node(struct node *, int, struct node *); | ||
34 | extern void unregister_node(struct node *node); | 33 | extern void unregister_node(struct node *node); |
35 | #ifdef CONFIG_NUMA | 34 | #ifdef CONFIG_NUMA |
36 | extern int register_one_node(int nid); | 35 | extern int register_one_node(int nid); |