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)
commit7f7f0d9c0bcbed864551012e4eb88a631fd376f9
tree35db9082d8a5e61d72a158e984c8804051c053d8
parent53fafdbb8b21fa99dfd8376ca056bffde8cafc11
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