mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
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: Xin Li <xin@zytor.com> Link: https://patch.msgid.link/20260306231253.2177246-1-xin@zytor.com Signed-off-by: Sean Christopherson <seanjc@google.com>
This commit is contained in:
parent
192f777b3a
commit
577da677aa
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user