diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2020-01-21 10:15:18 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-27 19:59:57 +0100 |
commit | cef6db76f3165ac01ea49e023dea17002ee91618 (patch) | |
tree | a2032e2848368502a551af8ebbc98a2cb7a0c5de /virt/kvm/kvm_main.c | |
parent | Adding 'else' to reduce checking. (diff) | |
download | linux-dev-cef6db76f3165ac01ea49e023dea17002ee91618.tar.xz linux-dev-cef6db76f3165ac01ea49e023dea17002ee91618.zip |
KVM: VMX: remove duplicated segment cache clear
vmx_set_segment() clears segment cache unconditionally, so we should not
clear it again by calling vmx_segment_cache_clear().
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions