From: Miaohe Lin Date: Thu, 5 Dec 2019 02:24:38 +0000 (+0800) Subject: KVM: vmx: remove unreachable statement in vmx_get_msr_feature() X-Git-Tag: v5.6-rc1~106^2~170 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4fb7b452ce7b1490e789bf6fabd4f397cf57a26f;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Paolo Bonzini --- diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c index e3394c839dea6..5fb7a1695a24a 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; } /*