]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
perf tools: Remove duplicate headers
authorSouptick Joarder <jrdr.linux@gmail.com>
Sat, 24 Aug 2019 16:15:19 +0000 (21:45 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 26 Aug 2019 14:58:29 +0000 (11:58 -0300)
Removed headers which are included twice.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1566663319-4283-1-git-send-email-jrdr.linux@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/data.c
tools/perf/util/get_current_dir_name.c
tools/perf/util/stat-display.c

index 1d1b97a92c3f72a38bd98e405cb450a1f5dbb357..74aafe0df5066e10bd67d0a5ee2c9a5109bc2840 100644 (file)
@@ -9,7 +9,6 @@
 #include <unistd.h>
 #include <string.h>
 #include <asm/bug.h>
-#include <sys/types.h>
 #include <dirent.h>
 
 #include "data.h"
index 01f32f26552d2d0ffe2fa23e75044d250ed8e37a..b205d929245f5ee9e54bfe65ee37dcc62bf5469a 100644 (file)
@@ -5,7 +5,6 @@
 #include "get_current_dir_name.h"
 #include <unistd.h>
 #include <stdlib.h>
-#include <stdlib.h>
 
 /* Android's 'bionic' library, for one, doesn't have this */
 
index 51d6781aa90d935d957cddfb397d63fdff0d1fdf..1461dac2322dd1d1d11fc58507da95631242f3d2 100644 (file)
@@ -14,7 +14,6 @@
 #include "string2.h"
 #include <linux/ctype.h>
 #include "cgroup.h"
-#include <math.h>
 #include <api/fs/fs.h>
 
 #define CNTR_NOT_SUPPORTED     "<not supported>"