perf tools: Remove duplicate headers
authorBrajeswar Ghosh <brajeswar.linux@gmail.com>
Tue, 15 Jan 2019 13:59:16 +0000 (19:29 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 21 Jan 2019 18:15:57 +0000 (15:15 -0300)
Remove duplicate headers which are included more than once in the same
file.

Signed-off-by: Brajeswar Ghosh <brajeswar.linux@gmail.com>
Acked-by: Souptick Joarder <jrdr.linux@gmail.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Colin King <colin.king@canonical.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sabyasachi Gupta <sabyasachi.linux@gmail.com>
Link: http://lkml.kernel.org/r/20190115135916.GA3629@hp-pavilion-15-notebook-pc-brajeswar
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c
tools/perf/tests/bp_account.c
tools/perf/util/dso.h
tools/perf/util/zlib.c

index 63a3afc7f32b6d20bbdbe49d69ec1b37f0c71afc..e587808591e82623b41236d8b37f8b1d9cec813c 100644 (file)
@@ -83,7 +83,6 @@
 #include <unistd.h>
 #include <sys/time.h>
 #include <sys/resource.h>
-#include <sys/wait.h>
 
 #include "sane_ctype.h"
 
index a20cbc445426912cb1be1e18a75092cb0ba0c1f1..57fc544aedb0e60acae2c18d49c103001f55a2e4 100644 (file)
@@ -15,7 +15,6 @@
 #include <sys/mman.h>
 #include <linux/compiler.h>
 #include <linux/hw_breakpoint.h>
-#include <sys/ioctl.h>
 
 #include "tests.h"
 #include "debug.h"
index 8c8a7abe809d94a706d17958edd113b68f6f20b9..af2eda29660fe2fd2f261c026b12699ae076d945 100644 (file)
@@ -8,7 +8,6 @@
 #include <sys/types.h>
 #include <stdbool.h>
 #include "rwsem.h"
-#include <linux/types.h>
 #include <linux/bitops.h>
 #include "map.h"
 #include "namespaces.h"
index 902ce6384f5748bd69818c5f269fdd2c0f6db572..512ad7c09b1348621499587370d587a7fcd5ec90 100644 (file)
@@ -6,7 +6,6 @@
 #include <sys/mman.h>
 #include <zlib.h>
 #include <linux/compiler.h>
-#include <unistd.h>
 
 #include "util/compress.h"
 #include "util/util.h"