2.6.23-rc4-mm1: memoryless nodes - cleanup "unused variable" warning
Subsystems (2)
PATCH 1/1 2.6.23-rc4-mm1: memoryless nodes - cleanup "unused variable" warning
PATCH 2.6.23-rc4-mm1 - remove unused pgdat variable
When I replaced the for loop in page_alloc.c:find_next_best_node() to scan only nodes with memory, the variable pgdat became unused. I forgot to remove it and didn't notice the warning in the log.
Signed-off-by Lee Schermerhorn <[email protected]>
mm/page_alloc.c | 1 - 1 file changed, 1 deletion(-)
mm/page_alloc.c +0 -1
@@ -2130,7 +2130,6 @@ static int find_next_best_node(int node, }for_each_node_state (n,N_HIGH_MEMORY ) { -pg_data_t *pgdat =NODE_DATA (n);cpumask_t tmp;/* Don't want a node to appear more than once */
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>