diff options
author | 2022-02-28 11:09:02 +0800 | |
---|---|---|
committer | 2022-04-13 13:37:19 -0400 | |
commit | 6e97b2b822902f80142be26614fc0f6a8053ac45 (patch) | |
tree | b9537ba43b10f0d0262c1ee6a1c027e88de56cd3 | |
parent | kvm: x86: Adjust the location of pkru_mask of kvm_mmu to reduce memory (diff) | |
download | linux-dev-6e97b2b822902f80142be26614fc0f6a8053ac45.tar.xz linux-dev-6e97b2b822902f80142be26614fc0f6a8053ac45.zip |
kvm: vmx: remove redundant parentheses
Remove redundant parentheses.
Signed-off-by: Peng Hao <flyingpeng@tencent.com>
Message-Id: <20220228030902.88465-1-flyingpeng@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | arch/x86/kvm/vmx/vmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c index c654c9d76e09..ef0aadb0ab3a 100644 --- a/arch/x86/kvm/vmx/vmx.c +++ b/arch/x86/kvm/vmx/vmx.c @@ -2444,7 +2444,7 @@ static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf, &_cpu_based_exec_control) < 0) return -EIO; #ifdef CONFIG_X86_64 - if ((_cpu_based_exec_control & CPU_BASED_TPR_SHADOW)) + if (_cpu_based_exec_control & CPU_BASED_TPR_SHADOW) _cpu_based_exec_control &= ~CPU_BASED_CR8_LOAD_EXITING & ~CPU_BASED_CR8_STORE_EXITING; #endif |