From: Eddie Dong Date: Sun, 20 May 2007 07:50:08 +0000 (+0300) Subject: KVM: VMX: Cleanup redundant code in MSR set X-Git-Tag: v2.6.23-rc1~520^2~54 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2be4dd65437c60a4eb222bc40bc8caded62631a;p=linux-2.6 KVM: VMX: Cleanup redundant code in MSR set Signed-off-by: Yaozu (Eddie) Dong Signed-off-by: Avi Kivity --- diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index 872ca0381f..dc99191dbb 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c @@ -643,8 +643,6 @@ static int vmx_set_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data) break; } return kvm_set_msr_common(vcpu, msr_index, data); - msr->data = data; - break; } return 0;