]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: get rid of odd out jump label in pdptrs_changed
authorMiaohe Lin <linmiaohe@huawei.com>
Fri, 25 Oct 2019 10:54:34 +0000 (18:54 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 11 Nov 2019 14:11:28 +0000 (15:11 +0100)
commit5b210eae6a18c2dec3903b2b33e2d11f2458e23c
tree35db9082d8a5e61d72a158e984c8804051c053d8
parentd78c8ffb1436363c9d08039aadd283c5acca4bc9
KVM: x86: get rid of odd out jump label in pdptrs_changed

The odd out jump label is really not needed. Get rid of
it by return true directly while r < 0 as suggested by
Paolo. This further lead to var changed being unused.
Remove it too.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c