summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorSang-Heon Jeon <ekffu200098@gmail.com>2026-04-18 17:04:20 +0300
committerRob Herring (Arm) <robh@kernel.org>2026-05-05 18:31:50 +0300
commit63353810c08499476efc1e1e85ca7b8e33d54ef7 (patch)
treef0c04976b106684c6f75794b442d02bddb04ecfd /scripts/stackusage
parent6fcb912d5a13b333184a1c1825ead97cfb7927e6 (diff)
downloadlinux-63353810c08499476efc1e1e85ca7b8e33d54ef7.tar.xz
of/fdt: remove redundant memset in __unflatten_device_tree()
Now that memblock and slab allocators are the only allocators and both return zero-initialized memory, zeroing the memory ourselves is redundant. The allocators used are: - kernel_tree_alloc uses kzalloc() - early_init_dt_alloc_memory_arch() and dt_alloc_memory() both use memblock_alloc() Remove redundant memset after the allocation. No funtional change. Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com> Link: https://patch.msgid.link/20260418140420.2221736-1-ekffu200098@gmail.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions