__ARM_SETUP_STACK isn't used anywhere. Remove it. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/include/asm/barebox-arm.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/include/asm/barebox-arm.h b/arch/arm/include/asm/barebox-arm.h index 2e0d8dc9a7..3a0c3d7d40 100644 --- a/arch/arm/include/asm/barebox-arm.h +++ b/arch/arm/include/asm/barebox-arm.h @@ -130,10 +130,6 @@ static inline unsigned long arm_mem_barebox_image(unsigned long membase, } } -#ifndef CONFIG_CPU_64 -#define __ARM_SETUP_STACK(name, stack_top) if (stack_top) arm_setup_stack(stack_top) -#endif - /* * Unlike ENTRY_FUNCTION, this can be used to setup stack for a C entry * point on both ARM32 and ARM64. ENTRY_FUNCTION on ARM64 can only be used -- 2.39.2