]> git.karo-electronics.de Git - linux-beck.git/commitdiff
KVM: PPC: booke: remove leftover debugging
authorAlexander Graf <agraf@suse.de>
Thu, 16 Feb 2012 13:07:32 +0000 (13:07 +0000)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 09:55:01 +0000 (12:55 +0300)
The e500mc patches left some debug code in that we don't need. Remove it.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/booke.c

index 9fcc7607a54ecd2719b5073f363e57b79f9ee555..17d5318e6e4fde880e08cfcd6490a9cd56254eb5 100644 (file)
@@ -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);