diff options
author | Alastair D'Silva <alastair@d-silva.org> | 2016-08-01 16:32:51 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-08-09 16:52:00 +1000 |
commit | 9dc512819e4b723856773f5a018865c20441072f (patch) | |
tree | 21807c2cb5b2ac3c33be26aff8d9aaea3268ea9c /Documentation | |
parent | bc14c49195e49b3231c01e4c44e3e5456c940b94 (diff) |
powerpc: Fix unused function warning 'lmb_to_memblock'
This patch fixes the following warning:
arch/powerpc/platforms/pseries/hotplug-memory.c:323:29: error: 'lmb_to_memblock' defined but not used [-Werror=unused-function]
static struct memory_block *lmb_to_memblock(struct of_drconf_cell *lmb)
^~~~~~~~~~~~~~~
The only consumer of this function is 'dlpar_remove_lmb', which is
enabled with CONFIG_MEMORY_HOTREMOVE, so move it into the same
ifdef block.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions