KVM: x86/mmu: remove unnecessary flush_workqueue()
authorLv Ruyi <lv.ruyi@zte.com.cn>
Fri, 1 Apr 2022 08:35:30 +0000 (08:35 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Apr 2022 12:11:12 +0000 (08:11 -0400)
commit3203a56a0f0eaaf4ea7fc01467378c4bce3841ff
tree44e02d5d48e410427a03e0edc8a7c3bb9e60b3e9
parent1d0e84806047f38027d7572adb4702ef7c09b317
KVM: x86/mmu: remove unnecessary flush_workqueue()

All work currently pending will be done first by calling destroy_workqueue,
so there is unnecessary to flush it explicitly.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220401083530.2407703-1-lv.ruyi@zte.com.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/tdp_mmu.c