linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf cpumap: remove duplicate include in cpumap.h
@ 2022-01-17  8:37 cgel.zte
  2022-01-17 16:31 ` Ian Rogers
  0 siblings, 1 reply; 3+ messages in thread
From: cgel.zte @ 2022-01-17  8:37 UTC (permalink / raw)
  To: mingo
  Cc: acme, mark.rutland, alexander.shishkin, jolsa, namhyung, irogers,
	james.clark, linux-perf-users, linux-kernel, Lv Ruyi, Zeal Robot,
	CGEL ZTE

From: Lv Ruyi <lv.ruyi@zte.com.cn>

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>
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
---
 tools/perf/util/cpumap.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/perf/util/cpumap.h b/tools/perf/util/cpumap.h
index 0d3c2006a15d..240db1da370c 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>
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-22 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-17  8:37 [PATCH] perf cpumap: remove duplicate include in cpumap.h cgel.zte
2022-01-17 16:31 ` Ian Rogers
2022-01-22 20:13   ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).