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 <yuzenghui@huawei.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20200206075711.1275-5-yuzenghui@huawei.com
This commit is contained in:
parent
4e6437f12d
commit
4bccf1d715
|
@ -2415,14 +2415,12 @@ static u64 inherit_vpe_l1_table_from_rd(cpumask_t **mask)
|
||||||
|
|
||||||
for_each_possible_cpu(cpu) {
|
for_each_possible_cpu(cpu) {
|
||||||
void __iomem *base = gic_data_rdist_cpu(cpu)->rd_base;
|
void __iomem *base = gic_data_rdist_cpu(cpu)->rd_base;
|
||||||
u32 tmp;
|
|
||||||
|
|
||||||
if (!base || cpu == smp_processor_id())
|
if (!base || cpu == smp_processor_id())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
val = gic_read_typer(base + GICR_TYPER);
|
val = gic_read_typer(base + GICR_TYPER);
|
||||||
tmp = compute_common_aff(val);
|
if (aff != compute_common_aff(val))
|
||||||
if (tmp != aff)
|
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue