* [PATCH 2.6.21-rc6] mm/page_alloc.c: removal of an unused definition of 'setup_n_node_ids'
@ 2007-04-06 5:36 Patrick Ringl
2007-04-06 6:30 ` Christoph Lameter
0 siblings, 1 reply; 2+ messages in thread
From: Patrick Ringl @ 2007-04-06 5:36 UTC (permalink / raw)
To: linux-kernel; +Cc: christoph, torvalds
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_@freenet.de>
---
--- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-06 6:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-06 5:36 [PATCH 2.6.21-rc6] mm/page_alloc.c: removal of an unused definition of 'setup_n_node_ids' Patrick Ringl
2007-04-06 6:30 ` Christoph Lameter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.