projects
/
platform
/
kernel
/
linux-rpi.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
e3394c8
..
5fb7a16
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;
}
/*