Skip to contentSkip to conversation

tools: perf: util: Remove unnecessary struct declaration

PATCH New Wan Jiabing 1 participant 1 message Apr 6, 2021 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: perf: util: Remove unnecessary struct declaration

struct feat_fd is defined at 93rd line.
The declaration here is unnecessary. Remove it.

---
 tools/perf/util/header.h | 2 --
 1 file changed, 2 deletions(-)
tools/perf/util/header.h +0 -2
index 2aca71763ecf..3b1d284ee18c 100644
@@ -149,8 +149,6 @@ bool is_perf_magic(u64 magic);
 
 #define NAME_ALIGN 64
 
-struct feat_fd;
-
 int do_write(struct feat_fd *fd, const void *buf, size_t size);
 
 int write_padded(struct feat_fd *fd, const void *bf,
Signature · 1 line
2.25.1