]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Use shorthand local var to access struct perf_tests_args
authorSean Christopherson <seanjc@google.com>
Thu, 11 Nov 2021 00:03:03 +0000 (00:03 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Nov 2021 12:43:25 +0000 (07:43 -0500)
commita59f9a90c82846b80bc588e0ee76af178b4d8554
tree3f600b72abb8fca7e84a2ce7d3668ea633000137
parent4363b5c88db7be6ad1b1cc80a2e8b4ceac033673
KVM: selftests: Use shorthand local var to access struct perf_tests_args

Use 'pta' as a local pointer to the global perf_tests_args in order to
shorten line lengths and make the code borderline readable.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20211111000310.1435032-6-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/lib/perf_test_util.c