lkml.org 
[lkml]   [2007]   [Apr]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateFri, 06 Apr 2007 07:36:33 +0200
FromPatrick Ringl <>
Subject[PATCH 2.6.21-rc6] 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 <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


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

\
 
 \ /
  Last update: 2007-04-06 05:39    [from the cache]
©2003-2008