KVM: VMX: Cleanup redundant code in MSR set

Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
Eddie Dong 2007-05-20 10:50:08 +03:00 committed by Avi Kivity
parent a75beee6e4
commit f2be4dd654

View File

@ -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;