summaryrefslogtreecommitdiffstats
path: root/arch/mips/kvm
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-11-30 23:08:53 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2022-12-29 15:40:54 -0500
commit63a1bd8ad1ac9e4e8bfcd5914c8899606e04898d (patch)
tree525daad3ef534c3e900135fd6b2f493c382599d6 /arch/mips/kvm
parentb7483387e374977396152298bfbddee1ca0a062e (diff)
downloadlinux-stable-63a1bd8ad1ac9e4e8bfcd5914c8899606e04898d.tar.gz
linux-stable-63a1bd8ad1ac9e4e8bfcd5914c8899606e04898d.tar.bz2
linux-stable-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;