OSDN Git Service

libperf: Remove recursive perf/cpumap.h include from perf/cpumap.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 16 Nov 2022 18:40:46 +0000 (15:40 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 16 Nov 2022 19:00:49 +0000 (16:00 -0300)
It just hits the header guard, becoming a no-op, ditch it.

Acked-by: Ian Rogers <irogers@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/perf/include/perf/cpumap.h

index 03aceb7..98e463e 100644 (file)
@@ -3,7 +3,6 @@
 #define __LIBPERF_CPUMAP_H
 
 #include <perf/core.h>
-#include <perf/cpumap.h>
 #include <stdio.h>
 #include <stdbool.h>