aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShaokun Zhang <zhangshaokun@hisilicon.com>2021-06-01 14:36:25 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2021-06-15 17:12:27 +1000
commit8f6a54bcaf62a791a7bceccc093497f7f53e2e26 (patch)
treed7241c61d060d7236e9d7748f2237a2f89e28b51
parentpowerpc/spider-pci: Remove set but not used variable 'val' (diff)
downloadlinux-dev-8f6a54bcaf62a791a7bceccc093497f7f53e2e26.tar.xz
linux-dev-8f6a54bcaf62a791a7bceccc093497f7f53e2e26.zip
selftests/powerpc: Remove the repeated declaration
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
-rw-r--r--tools/testing/selftests/powerpc/pmu/ebb/ebb.h2
1 files changed, 0 insertions, 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);