board_init: remove meaningless increment in board_init_f_init_reserve()
PATCH 1/1 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 <[email protected]>
---
common/init/board_init.c | 2 -- 1 file changed, 2 deletions(-)
common/init/board_init.c +0 -2
@@ -140,8 +140,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 ))
Signature · 1 line
2.17.1
PATCH 1/1 board_init: remove meaningless increment in board_init_f_init_reserve()
Quoted 3 lines · Masahiro Yamada
The base is not used in the code that follows this increment.
Signed-off-by Masahiro Yamada <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200123/0759b1c6/attachment.sig>