2021-04-06 16:06:27

by Jiabing Wan

[permalink] [raw]
Subject: [PATCH] tools: perf: util: Remove unnecessary struct declaration

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

Signed-off-by: Wan Jiabing <[email protected]>
---
tools/perf/util/header.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/tools/perf/util/header.h b/tools/perf/util/header.h
index 2aca71763ecf..3b1d284ee18c 100644
--- a/tools/perf/util/header.h
+++ b/tools/perf/util/header.h
@@ -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,
--
2.25.1