diff options
| author | Oliver Upton <oliver.upton@linux.dev> | 2024-04-22 20:01:45 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2024-04-25 13:19:55 +0100 |
| commit | 30a0ce9c4928640efd3112d01d432d0778878b7e (patch) | |
| tree | a99b792ba387dbdf7d850d8f2a227b44653dc6c7 /arch/arm64/kvm/vgic/vgic.c | |
| parent | 85d3ccc8b75bb5a443edb3c42fa22e97da2e60ec (diff) | |
KVM: arm64: vgic-its: Get rid of vgic_copy_lpi_list()
The last user has been transitioned to walking the LPI xarray directly.
Cut the wart off, and get rid of the now unneeded lpi_count while doing
so.
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240422200158.2606761-7-oliver.upton@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/kvm/vgic/vgic.c')
| -rw-r--r-- | arch/arm64/kvm/vgic/vgic.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/kvm/vgic/vgic.c b/arch/arm64/kvm/vgic/vgic.c index 4ec93587c8cd..e3ee1bc1214a 100644 --- a/arch/arm64/kvm/vgic/vgic.c +++ b/arch/arm64/kvm/vgic/vgic.c @@ -126,7 +126,6 @@ void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq) __xa_erase(&dist->lpi_xa, irq->intid); xa_unlock_irqrestore(&dist->lpi_xa, flags); - atomic_dec(&dist->lpi_count); kfree_rcu(irq, rcu); } |
