From: Arnaldo Carvalho de Melo Date: Wed, 9 Sep 2015 15:38:17 +0000 (-0300) Subject: perf evsel: Remove forward declaration of 'struct perf_evlist' X-Git-Tag: firefly_0821_release~176^2~832^2~30^2~12 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8168caded331a19302593a591f070136cb3a31c8;p=firefly-linux-kernel-4.4.55.git perf evsel: Remove forward declaration of 'struct perf_evlist' We have no use for it in evsel.h. Tested-by: Wang Nan Cc: Adrian Hunter Cc: Borislav Petkov Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Kan Liang Cc: Namhyung Kim Cc: Stephane Eranian Link: http://lkml.kernel.org/n/tip-um03yjrgyi3bj1hzqiqs4dsu@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h index 298e6bbca200..f164a149da82 100644 --- a/tools/perf/util/evsel.h +++ b/tools/perf/util/evsel.h @@ -129,7 +129,6 @@ union u64_swap { struct cpu_map; struct target; struct thread_map; -struct perf_evlist; struct record_opts; static inline struct cpu_map *perf_evsel__cpus(struct perf_evsel *evsel)