summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorSang-Heon Jeon <ekffu200098@gmail.com>2026-04-18 23:04:20 +0900
committerRob Herring (Arm) <robh@kernel.org>2026-05-05 10:31:50 -0500
commit63353810c08499476efc1e1e85ca7b8e33d54ef7 (patch)
treef0c04976b106684c6f75794b442d02bddb04ecfd /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parent6fcb912d5a13b333184a1c1825ead97cfb7927e6 (diff)
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 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions