]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3-its: Drop redundant initialization in mk_lpi_range
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Tue, 12 Mar 2019 17:33:48 +0000 (18:33 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Apr 2019 14:45:01 +0000 (15:45 +0100)
commitc7aa9e162a6fc2307b36c11d3e2625315f068917
tree15de5e842de45a21d5448486d3b07bec129f4f6c
parent1665c3807ec7c6280da784827025442a5d73729f
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>
drivers/irqchip/irq-gic-v3-its.c