summaryrefslogtreecommitdiff
path: root/common/init
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-01-08 20:21:17 +0900
committerTom Rini <trini@konsulko.com>2020-01-23 07:29:58 -0500
commit9086ab564b93a51d3cb18deb7ac59179e2541285 (patch)
tree59ff5e64b6e33cdc2ca8918d7ffe32f86ea3ec8b /common/init
parent645b7ec52c575e853ef93eddc0f7f16c99f74e55 (diff)
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>
Diffstat (limited to 'common/init')
-rw-r--r--common/init/board_init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/init/board_init.c b/common/init/board_init.c
index 3bc7994586..f7c8a173ff 100644
--- a/common/init/board_init.c
+++ b/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))