aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEddie Dong <eddie.dong@intel.com>2007-05-20 10:50:08 +0300
committerAvi Kivity <avi@qumranet.com>2007-07-16 12:05:42 +0300
commitf2be4dd65437c60a4eb222bc40bc8caded62631a (patch)
tree9ed90fbca35e4d9316fc42bc2ab5e02f1b74d155 /drivers
parenta75beee6e4f5d2f0ae6e28cd626b2f157e93afd2 (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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/kvm/vmx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index 872ca0381fb..dc99191dbb4 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;