Skip to contentSkip to conversation

kvm: vmx: remove redundant parentheses

PATCH Applied Peng Hao 2 participants 2 messages Feb 28, 2022 – Apr 8, 2022

Subsystems (3)
lore
Share & tools
lore

Peng Hao

author
#0 lore raw

PATCH 1/1 kvm: vmx: remove redundant parentheses

From: Peng Hao <[email protected]>

Remove redundant parentheses.

---
 arch/x86/kvm/vmx/vmx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/vmx/vmx.c +1 -1
index 6101c2980a9c..7dce746c175f 100644
@@ -2417,7 +2417,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
Signature · 1 line
2.27.0