mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Acked-by: David Rientjes <[email protected]> Acked-by: KOSAKI Motohiro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
212a0a6f28
commit
fa26437517
2 changed files with 1 additions and 2 deletions
|
|
@ -277,7 +277,7 @@ static void node_device_release(struct device *dev)
|
|||
*
|
||||
* Initialize and register the node device.
|
||||
*/
|
||||
int register_node(struct node *node, int num, struct node *parent)
|
||||
static int register_node(struct node *node, int num, struct node *parent)
|
||||
{
|
||||
int error;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue