summaryrefslogtreecommitdiffstats
path: root/include/kvm
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2017-05-08 18:15:40 +0100
committerChristoffer Dall <cdall@linaro.org>2017-05-09 12:19:37 +0200
commit6cc40f273b30ef8f7b37f95cd2e6456d652808c0 (patch)
treef50456c63801eed030446abcebcbe302743b4975 /include/kvm
parent1aab6f468c10a1ec3977fb6f7bc12869174d516e (diff)
downloadlinux-6cc40f273b30ef8f7b37f95cd2e6456d652808c0.tar.bz2
KVM: arm/arm64: Get rid of its->initialized field
The its->initialized doesn't bring much to the table, and creates unnecessary ordering between setting the address and initializing it (which amounts to exactly nothing). Let's kill it altogether, making KVM_DEV_ARM_VGIC_CTRL_INIT the no-op it deserves to be. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <cdall@linaro.org> Reviewed-by: Eric Auger <eric.auger@redhat.com>
Diffstat (limited to 'include/kvm')
-rw-r--r--include/kvm/arm_vgic.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h
index 4ff65efcfebd..bfde6fb78e8a 100644
--- a/include/kvm/arm_vgic.h
+++ b/include/kvm/arm_vgic.h
@@ -148,7 +148,6 @@ struct vgic_its {
gpa_t vgic_its_base;
bool enabled;
- bool initialized;
struct vgic_io_device iodev;
struct kvm_device *dev;