projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7adacf5
)
KVM: vmx: remove unreachable statement in vmx_get_msr_feature()
author
Miaohe Lin
<linmiaohe@huawei.com>
Thu, 5 Dec 2019 02:24:38 +0000
(10:24 +0800)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 8 Jan 2020 16:33:12 +0000
(17:33 +0100)
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>
arch/x86/kvm/vmx/vmx.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/vmx/vmx.c
b/arch/x86/kvm/vmx/vmx.c
index e3394c839dea60a13254e666c446a1237fe8e245..5fb7a1695a24a50e5da527c6f716a38b274ba1a8 100644
(file)
--- 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;
}
/*