mm/page_alloc.c: removal of an unused definition of 'setup_n_node_ids'
Subsystems (2)
PATCH 1/1 mm/page_alloc.c: removal of an unused definition of 'setup_n_node_ids'
Remove an empty and thus unused definition of 'setup_nr_node_ids' (in case of MAX_NUMNODES < 1) in order to resolve a compiler warning.
Signed-off-by Patrick Ringl <[email protected]>
---
mm/page_alloc.c 2007-04-06 07:19:38.000000000 +0200 renamed from mm/page_alloc.c 2007-03-22 23:11:25.000000000 +0100 +0 -0
@@ -680,8 +680,6 @@ static void __init setup_nr_node_ids(voi highest = node; nr_node_ids = highest + 1;
}
-#else
-static void __init setup_nr_node_ids(void) {}
#endif
#ifdef CONFIG_NUMA
Quoted 2 lines · Patrick Ringl
Remove an empty and thus unused definition of '
setup_nr_node_ids' (in case ofMAX_NUMNODES< 1) in order to resolve a compiler warning.
You mean MAX_NUMNODES == 1?
Also that empty and unused definition is used by
free_area_init_nodes()