From: Alexander Graf Date: Thu, 16 Feb 2012 13:07:32 +0000 (+0000) Subject: KVM: PPC: booke: remove leftover debugging X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=acab05290696db0a5431a9ad171be649ab56e87b;p=linux-beck.git KVM: PPC: booke: remove leftover debugging The e500mc patches left some debug code in that we don't need. Remove it. Signed-off-by: Alexander Graf Signed-off-by: Avi Kivity --- diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index 9fcc7607a54e..17d5318e6e4f 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c @@ -469,11 +469,6 @@ int kvmppc_vcpu_run(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu) return -EINVAL; } - if (!current->thread.kvm_vcpu) { - WARN(1, "no vcpu\n"); - return -EPERM; - } - local_irq_disable(); kvmppc_core_prepare_to_enter(vcpu);