diff options
author | Eddie Dong <eddie.dong@intel.com> | 2007-05-20 10:50:08 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-07-16 12:05:42 +0300 |
commit | f2be4dd65437c60a4eb222bc40bc8caded62631a (patch) | |
tree | 9ed90fbca35e4d9316fc42bc2ab5e02f1b74d155 /drivers/kvm/vmx.c | |
parent | a75beee6e4f5d2f0ae6e28cd626b2f157e93afd2 (diff) | |
download | op-kernel-dev-f2be4dd65437c60a4eb222bc40bc8caded62631a.zip op-kernel-dev-f2be4dd65437c60a4eb222bc40bc8caded62631a.tar.gz |
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/kvm/vmx.c')
-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 872ca03..dc99191 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; |