summaryrefslogtreecommitdiffstats
path: root/tools/perf/util
diff options
context:
space:
mode:
authorLv Ruyi <lv.ruyi@zte.com.cn>2022-01-17 08:37:30 +0000
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-01-22 17:12:23 -0300
commit24ead7c254b42c4ea252e57bf9928154dc7744e0 (patch)
tree619832bee2e0af2915093acec1ff8e0f38cc115a /tools/perf/util
parent440286993960bea4aa09d912a5497d92d09ae54c (diff)
downloadlinux-stable-24ead7c254b42c4ea252e57bf9928154dc7744e0.tar.gz
linux-stable-24ead7c254b42c4ea252e57bf9928154dc7744e0.tar.bz2
linux-stable-24ead7c254b42c4ea252e57bf9928154dc7744e0.zip
perf cpumap: Remove duplicate include in cpumap.h
Remove all but the first include of stdbool.h from cpumap.h. Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn> Acked-by: Ian Rogers <irogers@google.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: James Clark <james.clark@arm.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20220117083730.863200-1-lv.ruyi@zte.com.cn Signed-off-by: CGEL ZTE <cgel.zte@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util')
-rw-r--r--tools/perf/util/cpumap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/cpumap.h b/tools/perf/util/cpumap.h
index 5c85fbd709b4..703ae6d3386e 100644
--- a/tools/perf/util/cpumap.h
+++ b/tools/perf/util/cpumap.h
@@ -4,7 +4,6 @@
#include <stdbool.h>
#include <stdio.h>
-#include <stdbool.h>
#include <internal/cpumap.h>
#include <perf/cpumap.h>