From: Dr. David Alan Gilbert Date: Sun, 2 Jun 2024 00:05:05 +0000 (+0100) Subject: perf genelf: remove unused struct 'options' X-Git-Tag: v6.11-rc1~130^2~113 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f7abc0cfa8be0aa872842569583a69e6bdec0e76;p=thirdparty%2Fkernel%2Flinux.git perf genelf: remove unused struct 'options' 'options' has been unused since commit fa7f7e735495 ("perf jit: Move test functionality in to a test"). Remove it. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Ian Rogers Signed-off-by: Namhyung Kim Link: https://lore.kernel.org/r/20240602000505.213032-1-linux@treblig.org --- diff --git a/tools/perf/util/genelf.c b/tools/perf/util/genelf.c index ac17a3cb59dc0..c8f6bee1fa619 100644 --- a/tools/perf/util/genelf.c +++ b/tools/perf/util/genelf.c @@ -54,11 +54,6 @@ typedef struct { char name[0]; /* Start of the name+desc data */ } Elf_Note; -struct options { - char *output; - int fd; -}; - static char shd_string_table[] = { 0, '.', 't', 'e', 'x', 't', 0, /* 1 */