[PATCH] powerpc/mm: eliminate unneeded for_each_memblock
galak at kernel.crashing.org
Tue Jan 8 03:42:02 EST 2013
On Jan 4, 2013, at 12:06 PM, Cody P Schafer wrote:
> The only persistent change made by this loop is calling
> memblock_set_node() once for each memblock, which is not useful (and has
> no effect) as memblock_set_node() is not called with any
> memblock-specific parameters.
> Subsistute a single memblock_set_node().
> arch/powerpc/mm/mem.c | 9 ++-------
> 1 file changed, 2 insertions(+), 7 deletions(-)
Missing a signed-off-by
More information about the Linuxppc-dev