]> 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)
commitb6c1a12fb2f222893bb776189336e966d3019bb6
tree35db9082d8a5e61d72a158e984c8804051c053d8
parent7580afa0dfa51aa9a560b99bb40c7af03344a9be
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