Re: [PATCH 2/7] tools/lib/perf/: Remove duplicate headers

From: Arnaldo Carvalho de Melo
Date: Mon Apr 20 2020 - 08:56:16 EST


Em Sun, Apr 19, 2020 at 11:43:56AM +0530, jagdsh.linux@xxxxxxxxx escreveu:
> From: Jagadeesh Pagadala <jagdsh.linux@xxxxxxxxx>
>
> Code cleanup: Remove duplicate headers which are included twice.

Thanks, applied.

- Arnaldo

> Signed-off-by: Jagadeesh Pagadala <jagdsh.linux@xxxxxxxxx>
> ---
> tools/lib/perf/evlist.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/tools/lib/perf/evlist.c b/tools/lib/perf/evlist.c
> index 5b9f2ca..def5505 100644
> --- a/tools/lib/perf/evlist.c
> +++ b/tools/lib/perf/evlist.c
> @@ -11,10 +11,8 @@
> #include <internal/mmap.h>
> #include <internal/cpumap.h>
> #include <internal/threadmap.h>
> -#include <internal/xyarray.h>
> #include <internal/lib.h>
> #include <linux/zalloc.h>
> -#include <sys/ioctl.h>
> #include <stdlib.h>
> #include <errno.h>
> #include <unistd.h>
> --
> 1.8.3.1