KVM: ia64: remove empty function vti_vcpu_load()
authorJes Sorensen <jes@sgi.com>
Thu, 16 Apr 2009 09:24:58 +0000 (11:24 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:44 +0000 (11:48 +0300)
vti_vcpu_load() doesn't do anything, so lets get rid of it.

Signed-off-by: Jes Sorensen <jes@sgi.com>
Acked-by : Xiantao Zhang<xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/kvm/kvm-ia64.c

index 9addca622d2d4c6c054b9137d79b4548ad98cbd6..726317144a6f8ff6642601cd251a0cd1b717f066 100644 (file)
@@ -1100,10 +1100,6 @@ static void kvm_free_vmm_area(void)
        }
 }
 
-static void vti_vcpu_load(struct kvm_vcpu *vcpu, int cpu)
-{
-}
-
 static int vti_init_vpd(struct kvm_vcpu *vcpu)
 {
        int i;
@@ -1348,7 +1344,6 @@ struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm,
        vcpu->kvm = kvm;
 
        cpu = get_cpu();
-       vti_vcpu_load(vcpu, cpu);
        r = vti_vcpu_setup(vcpu, id);
        put_cpu();