aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/pmu.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-07-27 18:59:19 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2024-07-31 16:58:18 -0300
commit156e8dcfeceebce0694fb00542ac68e61a785fe1 (patch)
tree951ec20850f995fdd93e0ad0314567096519162b /tools/perf/tests/pmu.c
parentperf tools: Enable evsel__is_aux_event() to work for S390_CPUMSF (diff)
downloadlinux-156e8dcfeceebce0694fb00542ac68e61a785fe1.tar.gz
linux-156e8dcfeceebce0694fb00542ac68e61a785fe1.zip
perf test pmu: Remove unused test_pmus
Commit aa1551f299ba ("perf test pmu: Refactor format test and exposed test APIs") added the 'test_pmus' list, but didn't use it. (It seems to put them on the other_pmus list?) Remove it. Fixes: aa1551f299ba414c ("perf test pmu: Refactor format test and exposed test APIs") Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Cc: Ian Rogers <irogers@google.com> Cc: Kan Liang <kan.liang@linux.intel.com> Link: https://lore.kernel.org/lkml/20240727175919.1041468-1-linux@treblig.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/pmu.c')
-rw-r--r--tools/perf/tests/pmu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/perf/tests/pmu.c b/tools/perf/tests/pmu.c
index 40132655ccd1..0b2f04a55d7b 100644
--- a/tools/perf/tests/pmu.c
+++ b/tools/perf/tests/pmu.c
@@ -18,9 +18,6 @@
#include <sys/stat.h>
#include <sys/types.h>
-/* Fake PMUs created in temp directory. */
-static LIST_HEAD(test_pmus);
-
/* Cleanup test PMU directory. */
static int test_pmu_put(const char *dir, struct perf_pmu *pmu)
{