On 2021-07-12 13:49, John Gong wrote:
delete redundant lines of code
Signed-off-by: John Gong <johngong0791@xxxxxxx>
---
arch/arm64/kvm/vgic/vgic-mmio.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm64/kvm/vgic/vgic-mmio.c
b/arch/arm64/kvm/vgic/vgic-mmio.c
index 48c6067fc5ec..19cf661c451e 100644
--- a/arch/arm64/kvm/vgic/vgic-mmio.c
+++ b/arch/arm64/kvm/vgic/vgic-mmio.c
@@ -1004,8 +1004,6 @@ static int dispatch_mmio_read(struct kvm_vcpu
*vcpu, struct kvm_io_device *dev,
switch (iodev->iodev_type) {
case IODEV_CPUIF:
- data = region->read(vcpu, addr, len);
- break;
case IODEV_DIST:
data = region->read(vcpu, addr, len);
break;
I'm not overly keen on this. Why isn't the write path treated the same
way?
M.
--
Jazz is not dead. It just smells funny...
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm