[PATCH] selftests/powerpc: Remove the repeated declaration

Shaokun Zhang zhangshaokun at hisilicon.com
Tue Jun 1 16:36:25 AEST 2021


Function 'event_ebb_init' and 'event_leader_ebb_init' are declared
twice in the header file, so remove the repeated declaration.

Cc: Michael Ellerman <mpe at ellerman.id.au>
Signed-off-by: Shaokun Zhang <zhangshaokun at hisilicon.com>
---
 tools/testing/selftests/powerpc/pmu/ebb/ebb.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/testing/selftests/powerpc/pmu/ebb/ebb.h b/tools/testing/selftests/powerpc/pmu/ebb/ebb.h
index b5bc2b616075..2c803b5b48d6 100644
--- a/tools/testing/selftests/powerpc/pmu/ebb/ebb.h
+++ b/tools/testing/selftests/powerpc/pmu/ebb/ebb.h
@@ -55,8 +55,6 @@ void ebb_global_disable(void);
 bool ebb_is_supported(void);
 void ebb_freeze_pmcs(void);
 void ebb_unfreeze_pmcs(void);
-void event_ebb_init(struct event *e);
-void event_leader_ebb_init(struct event *e);
 int count_pmc(int pmc, uint32_t sample_period);
 void dump_ebb_state(void);
 void dump_summary_ebb_state(void);
-- 
2.7.4



More information about the Linuxppc-dev mailing list