Re: [PATCH] tools: perf: util: Remove duplicate struct declaration

2021-04-02 Thread Arnaldo Carvalho de Melo
Em Thu, Apr 01, 2021 at 04:19:38PM +0900, Namhyung Kim escreveu: > Hello, > > On Thu, Apr 1, 2021 at 3:25 PM Wan Jiabing wrote: > > > > struct target is declared twice. One has been declared > > at 21st line. Remove the duplicate. > > > > Signed-off-by: Wan Jiabing > > Acked-by: Namhyung Kim

Re: [PATCH] tools: perf: util: Remove duplicate struct declaration

2021-04-01 Thread Namhyung Kim
Hello, On Thu, Apr 1, 2021 at 3:25 PM Wan Jiabing wrote: > > struct target is declared twice. One has been declared > at 21st line. Remove the duplicate. > > Signed-off-by: Wan Jiabing Acked-by: Namhyung Kim I think we can move all the forward declarations to the top (and sort them) as well.

[PATCH] tools: perf: util: Remove duplicate struct declaration

2021-04-01 Thread Wan Jiabing
struct target is declared twice. One has been declared at 21st line. Remove the duplicate. Signed-off-by: Wan Jiabing --- tools/perf/util/evsel.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h index 6026487353dd..998e5b806696 100644 ---