Messages in this thread | | | Subject | Re: [PATCH] powerpc/mm: eliminate unneeded for_each_memblock | From | Kumar Gala <> | Date | Mon, 7 Jan 2013 10:42:02 -0600 |
| |
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
- k
| |