Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Shaokun Zhang and committed by
Michael Ellerman
8f6a54bc f377f7da

-2
-2
tools/testing/selftests/powerpc/pmu/ebb/ebb.h
··· 55 55 bool ebb_is_supported(void); 56 56 void ebb_freeze_pmcs(void); 57 57 void ebb_unfreeze_pmcs(void); 58 - void event_ebb_init(struct event *e); 59 - void event_leader_ebb_init(struct event *e); 60 58 int count_pmc(int pmc, uint32_t sample_period); 61 59 void dump_ebb_state(void); 62 60 void dump_summary_ebb_state(void);