OSDN Git Service

selftests/powerpc: Remove the repeated declaration
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Tue, 1 Jun 2021 06:36:25 +0000 (14:36 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Jun 2021 07:12:27 +0000 (17:12 +1000)
Function 'event_ebb_init' and 'event_leader_ebb_init' are declared
twice in the header file, so remove the repeated declaration.

Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1622529385-5938-1-git-send-email-zhangshaokun@hisilicon.com
tools/testing/selftests/powerpc/pmu/ebb/ebb.h

index b5bc2b6..2c803b5 100644 (file)
@@ -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);