From: Eddie Dong Date: Sun, 20 May 2007 07:50:08 +0000 (+0300) Subject: KVM: VMX: Cleanup redundant code in MSR set X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f2be4dd65437c60a4eb222bc40bc8caded62631a;p=linux-beck.git 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 872ca0381fbe..dc99191dbb4a 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;