diff options
author | Peng Hao <flyingpeng@tencent.com> | 2022-12-06 10:20:15 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-12-23 18:09:28 +0100 |
commit | 3c649918b764c0aaef22ea65d514bac5e2324ec0 (patch) | |
tree | 374b512779d52a82f8e2671fe5325d1450d52858 /usr/gen_init_cpio.c | |
parent | KVM: x86: hyper-v: Fix 'using uninitialized value' Coverity warning (diff) | |
download | linux-3c649918b764c0aaef22ea65d514bac5e2324ec0.tar.xz linux-3c649918b764c0aaef22ea65d514bac5e2324ec0.zip |
KVM: x86: Simplify kvm_apic_hw_enabled
kvm_apic_hw_enabled() only needs to return bool, there is no place
to use the return value of MSR_IA32_APICBASE_ENABLE.
Signed-off-by: Peng Hao <flyingpeng@tencent.com>
Message-Id: <CAPm50aJ=BLXNWT11+j36Dd6d7nz2JmOBk4u7o_NPQ0N61ODu1g@mail.gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'usr/gen_init_cpio.c')
0 files changed, 0 insertions, 0 deletions