projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e6437f
)
irqchip/gic-v4.1: Drop 'tmp' in inherit_vpe_l1_table_from_rd()
author
Zenghui Yu
<yuzenghui@huawei.com>
Thu, 6 Feb 2020 07:57:09 +0000
(15:57 +0800)
committer
Marc Zyngier
<maz@kernel.org>
Sat, 8 Feb 2020 10:01:33 +0000
(10:01 +0000)
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
drivers/irqchip/irq-gic-v3-its.c
patch
|
blob
|
history
diff --git
a/drivers/irqchip/irq-gic-v3-its.c
b/drivers/irqchip/irq-gic-v3-its.c
index ae4e7b355b4661ec9121136c5171f19daa81e7a3..8405ebdd9ffb2f263f6ccbbfa10a8d8401bc8672 100644
(file)
--- a/
drivers/irqchip/irq-gic-v3-its.c
+++ b/
drivers/irqchip/irq-gic-v3-its.c
@@
-2415,14
+2415,12
@@
static u64 inherit_vpe_l1_table_from_rd(cpumask_t **mask)
for_each_possible_cpu(cpu) {
void __iomem *base = gic_data_rdist_cpu(cpu)->rd_base;
- u32 tmp;
if (!base || cpu == smp_processor_id())
continue;
val = gic_read_typer(base + GICR_TYPER);
- tmp = compute_common_aff(val);
- if (tmp != aff)
+ if (aff != compute_common_aff(val))
continue;
/*