diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2019-12-05 10:24:38 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-08 17:33:12 +0100 |
commit | 4fb7b452ce7b1490e789bf6fabd4f397cf57a26f (patch) | |
tree | 3d218602da339ad0b09664e29075c3b5d19f48ff | |
parent | KVM: x86: use CPUID to locate host page table reserved bits (diff) | |
download | linux-dev-4fb7b452ce7b1490e789bf6fabd4f397cf57a26f.tar.xz linux-dev-4fb7b452ce7b1490e789bf6fabd4f397cf57a26f.zip |
KVM: vmx: remove unreachable statement in vmx_get_msr_feature()
We have no way to reach the final statement, remove it.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | arch/x86/kvm/vmx/vmx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c index e3394c839dea..5fb7a1695a24 100644 --- a/arch/x86/kvm/vmx/vmx.c +++ b/arch/x86/kvm/vmx/vmx.c @@ -1773,8 +1773,6 @@ static int vmx_get_msr_feature(struct kvm_msr_entry *msr) default: return 1; } - - return 0; } /* |