perf genelf: remove unused struct 'options'
authorDr. David Alan Gilbert <linux@treblig.org>
Sun, 2 Jun 2024 00:05:05 +0000 (01:05 +0100)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 4 Jun 2024 05:07:52 +0000 (22:07 -0700)
'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 <linux@treblig.org>
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240602000505.213032-1-linux@treblig.org
tools/perf/util/genelf.c

index ac17a3cb59dc0d08621015506b48188ea4a74d03..c8f6bee1fa6190b7971cb56c8e9b9f06359c1c10 100644 (file)
@@ -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 */