[PATCH 2.6.21-rc6] mm/page_alloc.c: removal of an unused definitionof 'setup_n_node_ids'

From: Patrick Ringl
Date: Fri Apr 06 2007 - 01:36:59 EST


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 <patrick_@xxxxxxxxxx>
---

--- linux-2.6.20-o/mm/page_alloc.c 2007-03-22 23:11:25.000000000 +0100
+++ linux-2.6.20/mm/page_alloc.c 2007-04-06 07:19:38.000000000 +0200
@@ -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



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/