diff options
author | Sean Christopherson <seanjc@google.com> | 2024-01-10 01:03:02 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-01-30 23:32:02 +0300 |
commit | 46fee9e38995af9ae16a8cc7d05031486d44cf35 (patch) | |
tree | 02e0f9c4d21ac4cee766b1340df9acea527881a3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 65612e993493014cb95be81ca4f98e08732c46d0 (diff) | |
download | linux-46fee9e38995af9ae16a8cc7d05031486d44cf35.tar.xz |
KVM: selftests: Delete superfluous, unused "stage" variable in AMX test
Delete the AMX's tests "stage" counter, as the counter is no longer used,
which makes clang unhappy:
x86_64/amx_test.c:224:6: error: variable 'stage' set but not used
int stage, ret;
^
1 error generated.
Note, "stage" was never really used, it just happened to be dumped out by
a (failed) assertion on run->exit_reason, i.e. the AMX test has no concept
of stages, the code was likely copy+pasted from a different test.
Fixes: c96f57b08012 ("KVM: selftests: Make vCPU exit reason test assertion common")
Reviewed-by: Jim Mattson <jmattson@google.com>
Link: https://lore.kernel.org/r/20240109220302.399296-1-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions