summaryrefslogtreecommitdiffstats
path: root/lib/nlattr.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2019-03-12 18:33:48 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2019-04-29 16:45:01 +0200
commit1c73fac50d83274ebc221bc8d42b6477b3c82405 (patch)
tree15de5e842de45a21d5448486d3b07bec129f4f6c /lib/nlattr.c
parentirqchip/gic-v3-its: Move allocation outside mutex (diff)
downloadlinux-1c73fac50d83274ebc221bc8d42b6477b3c82405.tar.xz
linux-1c73fac50d83274ebc221bc8d42b6477b3c82405.zip
irqchip/gic-v3-its: Drop redundant initialization in mk_lpi_range
There's no reason to ask kmalloc() to zero the allocation, since all the fields get initialized immediately afterwards. Except that there's also not any reason to initialize the ->entry member, since the element gets added to the lpi_range_list immediately. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'lib/nlattr.c')
0 files changed, 0 insertions, 0 deletions