Signed-off-by: Luiz capitulino <lcapitulino@xxxxxxxxxx> --- mm/bootmem.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/mm/bootmem.c b/mm/bootmem.c index 90bd350..31d303e 100644 --- a/mm/bootmem.c +++ b/mm/bootmem.c @@ -655,9 +655,7 @@ restart: void * __init __alloc_bootmem_nopanic(unsigned long size, unsigned long align, unsigned long goal) { - unsigned long limit = 0; - - return ___alloc_bootmem_nopanic(size, align, goal, limit); + return ___alloc_bootmem_nopanic(size, align, goal, 0); } static void * __init ___alloc_bootmem(unsigned long size, unsigned long align, @@ -691,9 +689,7 @@ static void * __init ___alloc_bootmem(unsigned long size, unsigned long align, void * __init __alloc_bootmem(unsigned long size, unsigned long align, unsigned long goal) { - unsigned long limit = 0; - - return ___alloc_bootmem(size, align, goal, limit); + return ___alloc_bootmem(size, align, goal, 0); } void * __init ___alloc_bootmem_node_nopanic(pg_data_t *pgdat, -- 1.8.3.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>