Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 92d31610 authored by Grant Likely's avatar Grant Likely
Browse files

of/fdt: Remove duplicate memory clearing on FDT unflattening



Patch 9e401275, "of: fdt: fix memory initialization for expanded DT"
fixed incomplete clearing of memory when unflattening the device tree.
However the code was already clearing some of the memory, it just wasn't
doing so for all allocations. Now that the memory is cleared right at
the point of allocation, the memset after unflatten_dt_alloc() is
redundant. Remove it.

Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
Acked-by: default avatarWladislav Wiebe <wladislav.kw@gmail.com>
parent d9fe0039
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment