summaryrefslogtreecommitdiffstats
path: root/arch/mips/kvm
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-12-01 00:08:53 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2022-12-29 21:40:54 +0100
commit63a1bd8ad1ac9e4e8bfcd5914c8899606e04898d (patch)
tree525daad3ef534c3e900135fd6b2f493c382599d6 /arch/mips/kvm
parentKVM: x86: Move hardware setup/unsetup to init/exit (diff)
downloadlinux-63a1bd8ad1ac9e4e8bfcd5914c8899606e04898d.tar.xz
linux-63a1bd8ad1ac9e4e8bfcd5914c8899606e04898d.zip
KVM: Drop arch hardware (un)setup hooks
Drop kvm_arch_hardware_setup() and kvm_arch_hardware_unsetup() now that all implementations are nops. No functional change intended. Signed-off-by: Sean Christopherson <seanjc@google.com> Reviewed-by: Eric Farman <farman@linux.ibm.com> # s390 Acked-by: Anup Patel <anup@brainfault.org> Message-Id: <20221130230934.1014142-10-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/kvm')
-rw-r--r--arch/mips/kvm/mips.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/kvm/mips.c b/arch/mips/kvm/mips.c
index a25e0b73ee70..af29490d9740 100644
--- a/arch/mips/kvm/mips.c
+++ b/arch/mips/kvm/mips.c
@@ -135,11 +135,6 @@ void kvm_arch_hardware_disable(void)
kvm_mips_callbacks->hardware_disable();
}
-int kvm_arch_hardware_setup(void *opaque)
-{
- return 0;
-}
-
int kvm_arch_check_processor_compat(void *opaque)
{
return 0;