mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-02 04:21:48 +02:00
malloc_simple() can return 0 if out of memory. Don't call memset from calloc() in this case but rely on the caller checking the return value. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: Marek Vasut <marex@denx.de>