These two patches remove some redundant code related to mode switch and EFER emulation. Sanity tested with kernel in L0, L1 and L2 all patched. v2: Split to two patches and use comments from Sean to explain why it's secure to remove them, suggested by Sean. Zhenzhong Duan (2): KVM: x86: Remove unnecessory assignment to uret->data KVM: x86: Remove redundant vm_entry_controls_clearbit() call arch/x86/kvm/vmx/vmx.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) -- 2.25.1