summaryrefslogtreecommitdiffstats
path: root/lib/nlattr.c
diff options
context:
space:
mode:
authorCody P Schafer <cody@linux.vnet.ibm.com>2013-01-09 13:40:18 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-01-29 01:34:25 +0100
commit4e8309baedfef8360f5b06ccaff8c45cff73cc4f (patch)
treea09eb20075f5b5e9a31ae53c876f3770571829d6 /lib/nlattr.c
parentMerge branch 'merge' into next (diff)
downloadlinux-4e8309baedfef8360f5b06ccaff8c45cff73cc4f.tar.xz
linux-4e8309baedfef8360f5b06ccaff8c45cff73cc4f.zip
powerpc/mm: Eliminate unneeded for_each_memblock
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(). Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'lib/nlattr.c')
0 files changed, 0 insertions, 0 deletions