Skip to content

Commit 31a9b0b

Browse files
Zenghui YuMarc Zyngier
authored andcommitted
KVM: arm/arm64: vgic: Drop the kvm_vgic_register_mmio_region()
kvm_vgic_register_mmio_region() was introduced in commit 4493b1c ("KVM: arm/arm64: vgic-new: Add MMIO handling framework") but never used, and even never implemented. Remove it to avoid confusing readers. Reported-by: Haibin Wang <[email protected]> Signed-off-by: Zenghui Yu <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 821c10c commit 31a9b0b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

virt/kvm/arm/vgic/vgic-mmio.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,6 @@ extern struct kvm_io_device_ops kvm_io_gic_ops;
9898
.uaccess_write = uwr, \
9999
}
100100

101-
int kvm_vgic_register_mmio_region(struct kvm *kvm, struct kvm_vcpu *vcpu,
102-
struct vgic_register_region *reg_desc,
103-
struct vgic_io_device *region,
104-
int nr_irqs, bool offset_private);
105-
106101
unsigned long vgic_data_mmio_bus_to_host(const void *val, unsigned int len);
107102

108103
void vgic_data_host_to_mmio_bus(void *buf, unsigned int len,

0 commit comments

Comments
 (0)