of/fdt: Remove duplicate memory clearing on FDT unflattening
authorGrant Likely <grant.likely@linaro.org>
Wed, 28 Aug 2013 20:24:17 +0000 (21:24 +0100)
committerGrant Likely <grant.likely@linaro.org>
Thu, 29 Aug 2013 20:40:31 +0000 (21:40 +0100)
commit92d31610aac907c046f0e9c0f888c30415f20936
treed1f063862d84419b46795073e74357488b449011
parentd9fe0039c4247383c2783923a3860227813b4d82
of/fdt: Remove duplicate memory clearing on FDT unflattening

Patch 9e4012752, "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: Grant Likely <grant.likely@linaro.org>
Acked-by: Wladislav Wiebe <wladislav.kw@gmail.com>
drivers/of/fdt.c