Skip to content

Commit 4bccf1d

Browse files
Zenghui YuMarc Zyngier
authored andcommitted
irqchip/gic-v4.1: Drop 'tmp' in inherit_vpe_l1_table_from_rd()
The variable 'tmp' in inherit_vpe_l1_table_from_rd() is actually not needed, drop it. Signed-off-by: Zenghui Yu <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 4e6437f commit 4bccf1d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/irqchip/irq-gic-v3-its.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2415,14 +2415,12 @@ static u64 inherit_vpe_l1_table_from_rd(cpumask_t **mask)
24152415

24162416
for_each_possible_cpu(cpu) {
24172417
void __iomem *base = gic_data_rdist_cpu(cpu)->rd_base;
2418-
u32 tmp;
24192418

24202419
if (!base || cpu == smp_processor_id())
24212420
continue;
24222421

24232422
val = gic_read_typer(base + GICR_TYPER);
2424-
tmp = compute_common_aff(val);
2425-
if (tmp != aff)
2423+
if (aff != compute_common_aff(val))
24262424
continue;
24272425

24282426
/*

0 commit comments

Comments
 (0)