diff options
author | Eddie Dong <eddie.dong@intel.com> | 2007-05-20 03:50:08 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-07-16 05:05:42 -0400 |
commit | f2be4dd65437c60a4eb222bc40bc8caded62631a (patch) | |
tree | 9ed90fbca35e4d9316fc42bc2ab5e02f1b74d155 | |
parent | a75beee6e4f5d2f0ae6e28cd626b2f157e93afd2 (diff) |
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>
-rw-r--r-- | drivers/kvm/vmx.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) | |||
643 | break; | 643 | break; |
644 | } | 644 | } |
645 | return kvm_set_msr_common(vcpu, msr_index, data); | 645 | return kvm_set_msr_common(vcpu, msr_index, data); |
646 | msr->data = data; | ||
647 | break; | ||
648 | } | 646 | } |
649 | 647 | ||
650 | return 0; | 648 | return 0; |