Skip to contentSkip to conversation

perf genelf: remove unused struct 'options'

PATCH Applied [email protected] 3 participants 3 messages Jun 2, 2024 – Jun 4, 2024 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf genelf: remove unused struct 'options'

From: "Dr. David Alan Gilbert" <[email protected]>

'options' has been unused since
commit fa7f7e735495 ("perf jit: Move test functionality in to a test").

Remove it.

---
 tools/perf/util/genelf.c | 5 -----
 1 file changed, 5 deletions(-)
tools/perf/util/genelf.c +0 -5
index ac17a3cb59dc..c8f6bee1fa61 100644
@@ -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 */
Signature · 1 line
2.45.1
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · On Sat, Jun 1, 2024 at 5:05 PM <[email protected]> wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

'options' has been unused since
commit fa7f7e735495 ("perf jit: Move test functionality in to a test").

Remove it.

Hi/thanks David,

Ian

Quoted 23 lines
---
 tools/perf/util/genelf.c | 5 -----
 1 file changed, 5 deletions(-)
tools/perf/util/genelf.c +0 -6
index ac17a3cb59dc..c8f6bee1fa61 100644
@@ -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 */
--

2.45.1