Commit 577da677 authored by Xin Li's avatar Xin Li Committed by Sean Christopherson
Browse files

KVM: VMX: Remove unnecessary parentheses



Drop redundant parentheses; the & operator has higher precedence than the
return statement's implicit evaluation, making the grouping redundant.

Signed-off-by: default avatarXin Li <xin@zytor.com>
Link: https://patch.msgid.link/20260306231253.2177246-1-xin@zytor.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent 192f777b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ static inline bool cpu_has_load_perf_global_ctrl(void)

static inline bool cpu_has_load_cet_ctrl(void)
{
	return (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_CET_STATE);
	return vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_CET_STATE;
}

static inline bool cpu_has_save_perf_global_ctrl(void)