diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2019-12-05 05:24:38 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-08 19:33:12 +0300 |
commit | 4fb7b452ce7b1490e789bf6fabd4f397cf57a26f (patch) | |
tree | 3d218602da339ad0b09664e29075c3b5d19f48ff /arch | |
parent | 7adacf5eb2d2048045d9fd8fdab861fd9e7e2e96 (diff) | |
download | linux-4fb7b452ce7b1490e789bf6fabd4f397cf57a26f.tar.xz |
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>
Diffstat (limited to 'arch')
-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; } /* |