KVM: remove kvm_arch_has_vcpu_debugfs()
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 3 Aug 2019 06:14:25 +0000 (08:14 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 5 Aug 2019 10:55:48 +0000 (12:55 +0200)
commit741cbbae0768b828be2d48331eb371a4f08bbea8
tree92978c9e137cd19ef81fba0aa9f1791512b2be70
parent17e433b54393a6269acbcb792da97791fe1592d8
KVM: remove kvm_arch_has_vcpu_debugfs()

There is no need for this function as all arches have to implement
kvm_arch_create_vcpu_debugfs() no matter what.  A #define symbol
let us actually simplify the code.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/mips.c
arch/powerpc/kvm/powerpc.c
arch/s390/kvm/kvm-s390.c
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/debugfs.c
include/linux/kvm_host.h
virt/kvm/arm/arm.c
virt/kvm/kvm_main.c