From: Rob Herring Date: Thu, 13 May 2021 17:46:14 +0000 (-0500) Subject: perf tests: Drop __maybe_unused on x86 test declarations X-Git-Tag: howlett/maple/20220722_2~2851^2~100 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=19d71c2cbe060ca8b7da0a43ee549f8352211155;p=users%2Fjedix%2Flinux-maple.git perf tests: Drop __maybe_unused on x86 test declarations Function declarations don't need __maybe_unused annotations, only the implementations do. Drop them on the perf x86 tests. Signed-off-by: Rob Herring Acked-by: Jiri Olsa Cc: Alexander Shishkin Cc: John Garry Cc: Leo Yan Cc: Mark Rutland Cc: Mathieu Poirier Cc: Matt Fleming Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Will Deacon Cc: linux-arm-kernel@lists.infradead.org Cc: masayoshi mizuma Link: http://lore.kernel.org/lkml/20210513174614.2242210-2-robh@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/arch/x86/include/arch-tests.h b/tools/perf/arch/x86/include/arch-tests.h index 462546bfc5f73..9599e7a3f1af2 100644 --- a/tools/perf/arch/x86/include/arch-tests.h +++ b/tools/perf/arch/x86/include/arch-tests.h @@ -2,12 +2,11 @@ #ifndef ARCH_TESTS_H #define ARCH_TESTS_H -#include struct test; /* Tests */ -int test__rdpmc(struct test *test __maybe_unused, int subtest); -int test__insn_x86(struct test *test __maybe_unused, int subtest); +int test__rdpmc(struct test *test, int subtest); +int test__insn_x86(struct test *test, int subtest); int test__intel_pt_pkt_decoder(struct test *test, int subtest); int test__bp_modify(struct test *test, int subtest); int test__x86_sample_parsing(struct test *test, int subtest);