From: Philippe Mathieu-Daudé <phi...@redhat.com> The KVMState* argument is now unused, drop it.
Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> Reviewed-by: Cornelia Huck <coh...@redhat.com> Message-Id: <20200623105052.1700-6-phi...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> --- target/i386/kvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/i386/kvm.c b/target/i386/kvm.c index 466c4c2b14..14be9917f4 100644 --- a/target/i386/kvm.c +++ b/target/i386/kvm.c @@ -289,7 +289,7 @@ static const struct kvm_para_features { { KVM_CAP_ASYNC_PF, KVM_FEATURE_ASYNC_PF }, }; -static int get_para_features(KVMState *s) +static int get_para_features(void) { int i, features = 0; @@ -446,7 +446,7 @@ uint32_t kvm_arch_get_supported_cpuid(KVMState *s, uint32_t function, /* fallback for older kernels */ if ((function == KVM_CPUID_FEATURES) && !found) { - ret = get_para_features(s); + ret = get_para_features(); } return ret; -- 2.26.2