mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
bootmem: remove not implemented function call, bootmem_arch_preferred_node()
There is no implementation of bootmem_arch_preferred_node() and a call to this function will cause a compilation error. So remove it. Signed-off-by: Joonsoo Kim <[email protected]> Cc: Haavard Skinnemoen <[email protected]> Cc: Hans-Christian Egtvedt <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: FUJITA Tomonori <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
9977d9b379
commit
2d7a695604
1 changed files with 0 additions and 12 deletions
12
mm/bootmem.c
12
mm/bootmem.c
|
|
@ -581,18 +581,6 @@ static void * __init alloc_arch_preferred_bootmem(bootmem_data_t *bdata,
|
|||
{
|
||||
if (WARN_ON_ONCE(slab_is_available()))
|
||||
return kzalloc(size, GFP_NOWAIT);
|
||||
|
||||
#ifdef CONFIG_HAVE_ARCH_BOOTMEM
|
||||
{
|
||||
bootmem_data_t *p_bdata;
|
||||
|
||||
p_bdata = bootmem_arch_preferred_node(bdata, size, align,
|
||||
goal, limit);
|
||||
if (p_bdata)
|
||||
return alloc_bootmem_bdata(p_bdata, size, align,
|
||||
goal, limit);
|
||||
}
|
||||
#endif
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue