Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c57ee5fa authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by Christian Borntraeger
Browse files

kvm/s390: drop unpaired smp_mb



smp_mb on vcpu destroy isn't paired with anything, violating pairing
rules, and seems to be useless.

Drop it.

Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Message-Id: <1452010811-25486-1-git-send-email-mst@redhat.com>
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
parent da3f7ca3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1221,7 +1221,6 @@ void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu)
	kvm_clear_async_pf_completion_queue(vcpu);
	if (!kvm_is_ucontrol(vcpu->kvm))
		sca_del_vcpu(vcpu);
	smp_mb();

	if (kvm_is_ucontrol(vcpu->kvm))
		gmap_free(vcpu->arch.gmap);