Selaa lähdekoodia

board_init: remove meaningless increment in board_init_f_init_reserve()

The base is not used in the code that follows this increment.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Masahiro Yamada 4 vuotta sitten
vanhempi
commit
9086ab564b
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 2
      common/init/board_init.c

+ 0 - 2
common/init/board_init.c

@@ -157,8 +157,6 @@ void board_init_f_init_reserve(ulong base)
 #if CONFIG_VAL(SYS_MALLOC_F_LEN)
 	/* go down one 'early malloc arena' */
 	gd->malloc_base = base;
-	/* next alloc will be higher by one 'early malloc arena' size */
-	base += CONFIG_VAL(SYS_MALLOC_F_LEN);
 #endif
 
 	if (CONFIG_IS_ENABLED(SYS_REPORT_STACK_F_USAGE))