KVM: x86: drop BUG_ON(vcpu->kvm)
authorDavid Hildenbrand <david@redhat.com>
Thu, 24 Aug 2017 18:51:25 +0000 (20:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Oct 2017 12:01:51 +0000 (14:01 +0200)
commit26de7988499b96f3bca09e5bdf16c0f46541fcc6
tree26aa734be8693bf535f1c3841107ba72e833cf8c
parent87ca74ad920ccc8b9fd1c00bd7177070f17ebc95
KVM: x86: drop BUG_ON(vcpu->kvm)

And also get rid of that superfluous local variable "kvm".

Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/x86.c