[PATCH] selftests/powerpc: Remove the repeated declaration

Subsystems: kernel selftest framework, the rest

STALE1934d LANDED

Landed in mainline as 8f6a54bcaf62 on 2021-06-15.

2 messages, 2 authors, 2021-06-18 · open the first message on its own page

[PATCH] selftests/powerpc: Remove the repeated declaration

From: Shaokun Zhang <hidden>
Date: 2021-06-01 06:53:48

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@ellerman.id.au>
Signed-off-by: Shaokun Zhang <redacted>
---
 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

Re: [PATCH] selftests/powerpc: Remove the repeated declaration

From: Michael Ellerman <hidden>
Date: 2021-06-18 04:32:49

On Tue, 1 Jun 2021 14:36:25 +0800, Shaokun Zhang wrote:
Function 'event_ebb_init' and 'event_leader_ebb_init' are declared
twice in the header file, so remove the repeated declaration.
Applied to powerpc/next.

[1/1] selftests/powerpc: Remove the repeated declaration
      https://git.kernel.org/powerpc/c/8f6a54bcaf62a791a7bceccc093497f7f53e2e26

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help