Skip to contentSkip to conversation

tools: perf: util: Remove duplicate declaration

PATCH Applied Wan Jiabing 2 participants 2 messages Mar 25, 2021 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: perf: util: Remove duplicate declaration

struct evlist has been declared at 10th line.
struct comm has been declared at 15th line.
Remove the duplicate.

---
 tools/perf/util/metricgroup.h  | 1 -
 tools/perf/util/thread-stack.h | 1 -
 2 files changed, 2 deletions(-)
tools/perf/util/metricgroup.h +0 -1
index ed1b9392e624..026bbf416c48 100644
@@ -9,7 +9,6 @@
 
 struct evlist;
 struct evsel;
-struct evlist;
 struct option;
 struct rblist;
 struct pmu_events_map;
tools/perf/util/thread-stack.h +0 -1
index 3bc47a42af8e..b3cd09beb62f 100644
@@ -16,7 +16,6 @@ struct comm;
 struct ip_callchain;
 struct symbol;
 struct dso;
-struct comm;
 struct perf_sample;
 struct addr_location;
 struct call_path;
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw

Em Thu, Mar 25, 2021 at 12:39:34PM +0800, Wan Jiabing escreveu:

Quoted 3 lines

struct evlist has been declared at 10th line.
struct comm has been declared at 15th line.
Remove the duplicate.

Thanks, applied.

- Arnaldo

Quoted 33 lines
---
 tools/perf/util/metricgroup.h  | 1 -
 tools/perf/util/thread-stack.h | 1 -
 2 files changed, 2 deletions(-)
tools/perf/util/metricgroup.h +0 -1
index ed1b9392e624..026bbf416c48 100644
@@ -9,7 +9,6 @@
 
 struct evlist;
 struct evsel;
-struct evlist;
 struct option;
 struct rblist;
 struct pmu_events_map;
tools/perf/util/thread-stack.h +0 -1
index 3bc47a42af8e..b3cd09beb62f 100644
@@ -16,7 +16,6 @@ struct comm;
 struct ip_callchain;
 struct symbol;
 struct dso;
-struct comm;
 struct perf_sample;
 struct addr_location;
 struct call_path;
Signature · 1 line
2.25.1
Signature · 1 line
- Arnaldo