From: Arnaldo Carvalho de Melo Date: Thu, 22 Aug 2019 17:26:31 +0000 (-0300) Subject: perf cpumap: No need to include perf.h, ditch it X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=29e331176da121db22daa5dd9d72533b6a1efb33;p=linux.git perf cpumap: No need to include perf.h, ditch it From a quick look this was never needed and just polluted the build, needlessly making things including cpumap.h to be rebuild if perf.h or anything it includes gets changed. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-x10p8slllqkn3fc3bntjx3n0@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/cpumap.h b/tools/perf/util/cpumap.h index d0c5bbfd91af8..c2519e7ea958e 100644 --- a/tools/perf/util/cpumap.h +++ b/tools/perf/util/cpumap.h @@ -7,8 +7,6 @@ #include #include -#include "perf.h" - struct cpu_map_data; struct perf_cpu_map *perf_cpu_map__empty_new(int nr);