Skip to contentSkip to conversation

remove empty function vti_vcpu_load()

PATCH Applied Jes Sorensen 3 participants 3 messages Apr 16, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove empty function vti_vcpu_load()

Hi,

vti_vcpu_load() doesn't do anything, so lets get rid of it.

Cheers,
Jes

Remove empty function vti_vcpu_load()

---
 arch/ia64/kvm/kvm-ia64.c |    5 -----
 1 file changed, 5 deletions(-)
arch/ia64/kvm/kvm-ia64.c +0 -5
Index: linux-2.6.git/arch/ia64/kvm/kvm-ia64.c
===================================================================
@@ -1045,10 +1045,6 @@
 	}
 }
 
-static void vti_vcpu_load(struct kvm_vcpu *vcpu, int cpu)
-{
-}
-
 static int vti_init_vpd(struct kvm_vcpu *vcpu)
 {
 	int i;
@@ -1293,7 +1289,6 @@
 	vcpu->kvm = kvm;
 
 	cpu = get_cpu();
-	vti_vcpu_load(vcpu, cpu);
 	r = vti_vcpu_setup(vcpu, id);
 	put_cpu();
 
Applied
#2 lore raw
In reply to Jes Sorensen
Quoted 3 lines · Jes Sorensen

Hi,

vti_vcpu_load() doesn't do anything, so lets get rid of it.

Applied, thanks.

Signature · 1 line
Do not meddle in the internals of kernels, for they are subtle and quick to panic.