All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] board_init: remove meaningless increment in board_init_f_init_reserve()
@ 2020-01-08 11:21 Masahiro Yamada
  2020-01-23 22:00 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2020-01-08 11:21 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 common/init/board_init.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/common/init/board_init.c b/common/init/board_init.c
index e52106966d49..315168672420 100644
--- a/common/init/board_init.c
+++ b/common/init/board_init.c
@@ -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))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] board_init: remove meaningless increment in board_init_f_init_reserve()
  2020-01-08 11:21 [PATCH] board_init: remove meaningless increment in board_init_f_init_reserve() Masahiro Yamada
@ 2020-01-23 22:00 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2020-01-23 22:00 UTC (permalink / raw)
  To: u-boot

On Wed, Jan 08, 2020 at 08:21:17PM +0900, Masahiro Yamada wrote:

> The base is not used in the code that follows this increment.
> 
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

Applied to u-boot/master, thanks!

-- 
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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-23 22:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08 11:21 [PATCH] board_init: remove meaningless increment in board_init_f_init_reserve() Masahiro Yamada
2020-01-23 22:00 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.