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

Simon Glass sjg at chromium.org
Mon Mar 7 03:39:02 CET 2016


On 5 March 2016 at 10:30, Stephen Warren <swarren at wwwdotorg.org> 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>
> ---
>  common/dlmalloc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list