selftests: kvm: Simplify loop in kvm_create_max_vcpus test
authorWainer dos Santos Moschetta <wainersm@redhat.com>
Tue, 12 Nov 2019 14:21:11 +0000 (09:21 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 15 Nov 2019 10:44:12 +0000 (11:44 +0100)
commitf245eeaddc3e442b761de8e9d1b93893a999f9aa
tree959b89fc93fd6da487636f6ada6d30a57a171a9e
parent1924242b2abadfb1144c3c22083fd6f71caadd64
selftests: kvm: Simplify loop in kvm_create_max_vcpus test

On kvm_create_max_vcpus test remove unneeded local
variable in the loop that add vcpus to the VM.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/kvm_create_max_vcpus.c