[U-Boot] [PATCH V2 2/2] malloc: remove !gd handling

Tom Rini trini at konsulko.com
Sat Mar 5 18:45:06 CET 2016


On Sat, Mar 05, 2016 at 10:30:53AM -0700, Stephen Warren wrote:

> Following the previous patch, malloc() is never called before gd is set,
> so we can remove the special-case check for this condition.
> 
> This reverts commit 854d2b9753e4 "dlmalloc: ensure gd is set for early
> alloc".
> 
> Cc: Rabin Vincent <rabin at rab.in>
> Signed-off-by: Stephen Warren <swarren at wwwdotorg.org>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160305/b72ca9e1/attachment.sig>


More information about the U-Boot mailing list