mm-page_allocc-clean-code-by-removing-unnecessary-initialization.patch removed from -mm tree
The patch titled
Subject: mm/page_alloc.c: clean code by removing unnecessary initialization
has been removed from the -mm tree. Its filename was
mm-page_allocc-clean-code-by-removing-unnecessary-initialization.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Mateusz Nosek <[email protected]>
Subject: mm/page_alloc.c: clean code by removing unnecessary initialization
Previously variable 'tmp' was initialized, but was not read later before reassigning. So the initialization can be removed.
[[email protected]: remove `tmp' altogether]
Signed-off-by Mateusz Nosek <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/page_alloc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
mm/page_alloc.c renamed from mm/page_alloc.c~mm-page_allocc-clean-code-by-removing-unnecessary-initialization +1 -3
@@ -5651,7 +5651,6 @@ static int find_next_best_node(int node,int n, val;int min_val =INT_MAX ;int best_node =NUMA_NO_NODE ; -const struct cpumask *tmp =cpumask_of_node (0 );/* Use the local node if we haven't already */ if (!node_isset (node, *used_node_mask)) {
@@ -5672,8 +5671,7 @@ static int find_next_best_node(int node, val += (n < node);/* Give preference to headless and unused nodes */ - tmp =cpumask_of_node (n); -if (!cpumask_empty (tmp)) +if (!cpumask_empty (cpumask_of_node (n))) val +=PENALTY_FOR_NODE_WITH_CPUS ;/* Slight preference for less loaded node */
_
Patches currently in -mm which might be from [email protected] are
mm-page_poisonc-replace-bool-variable-with-static-key.patch