Re: [PATCH -next] perf metric: Remove duplicate include

From: Arnaldo Carvalho de Melo
Date: Wed Sep 16 2020 - 12:52:45 EST


Em Tue, Sep 15, 2020 at 11:51:22PM +0900, Namhyung Kim escreveu:
> Hello,
>
> On Tue, Sep 15, 2020 at 5:16 PM YueHaibing <yuehaibing@xxxxxxxxxx> wrote:
> >
> > Remove duplicate header which is included twice.
> >
> > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
>
> Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Thanks, applied.

- Arnaldo

> Thanks
> Namhyung
>
>
> > ---
> > tools/perf/tests/parse-metric.c | 2 --
> > 1 file changed, 2 deletions(-)
> >
> > diff --git a/tools/perf/tests/parse-metric.c b/tools/perf/tests/parse-metric.c
> > index 23db8acc492d..b344decfb91b 100644
> > --- a/tools/perf/tests/parse-metric.c
> > +++ b/tools/perf/tests/parse-metric.c
> > @@ -11,8 +11,6 @@
> > #include "debug.h"
> > #include "expr.h"
> > #include "stat.h"
> > -#include <perf/cpumap.h>
> > -#include <perf/evlist.h>
> >
> > static struct pmu_event pme_test[] = {
> > {
> > --
> > 2.17.1
> >
> >

--

- Arnaldo