]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
KVM: VMX: Cleanup redundant code in MSR set
authorEddie Dong <eddie.dong@intel.com>
Sun, 20 May 2007 07:50:08 +0000 (10:50 +0300)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:42 +0000 (12:05 +0300)
Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/vmx.c

index 872ca0381fbe7249abb8d30f3a054ed0d491db93..dc99191dbb4a5ab0fa69b015010503bbf890b8ef 100644 (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;