remove empty function vti_vcpu_load()
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()
Signed-off-by Jes Sorensen <[email protected]>
--- arch/ia64/kvm/kvm-ia64.c | 5 ----- 1 file changed, 5 deletions(-)
arch/ia64/kvm/kvm-ia64.c +0 -5
@@ -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 ();
Acked-by Xiantao Zhang<[email protected]>
-----Original Message-----
From: Jes Sorensen [mailto:[email protected]]
Sent: Thursday, April 16, 2009 5:25 PM
To: Zhang, Xiantao
Cc: Avi Kivity; [email protected]
Subject: [patch] remove empty function vti_vcpu_load()
Hi,
vti_vcpu_load() doesn't do anything, so lets get rid of it.
Cheers,
Jes
Avi Kivity
AppliedQuoted 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.