kvm: x86: remove unnecessary recalculate_apic_map
authorPeng Hao <peng.hao2@zte.com.cn>
Tue, 4 Dec 2018 09:42:50 +0000 (17:42 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 16:59:50 +0000 (17:59 +0100)
commiteb1ff0a913ca092ae5a4e7c9277b0a634c645eee
treed0fae61c20ba2183e9dfc3e7d6f73a5fd28d3182
parentb2227ddec1cca6c52f49a19ec1c7a40cd27e0566
kvm: x86: remove unnecessary recalculate_apic_map

In the previous code, the variable apic_sw_disabled influences
recalculate_apic_map. But in "KVM: x86: simplify kvm_apic_map"
(commit: 3b5a5ffa928a3f875b0d5dd284eeb7c322e1688a),
the access to apic_sw_disabled in recalculate_apic_map has been
deleted.

Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c