All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools: perf: util: Remove unnecessary struct declaration
@ 2021-04-06  6:42 Wan Jiabing
  0 siblings, 0 replies; only message in thread
From: Wan Jiabing @ 2021-04-06  6:42 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	Kan Liang, Andi Kleen, Wan Jiabing, linux-kernel
  Cc: kael_w

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

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-06  6:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-06  6:42 [PATCH] tools: perf: util: Remove unnecessary struct declaration Wan Jiabing

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.