2022-11-21 07:58:32

by Leo Yan

[permalink] [raw]
Subject: [PATCH v1 4/5] perf augmented_raw_syscalls: Remove unused variable 'syscall'

The local variable 'syscall' is not used anymore, remove it.

Signed-off-by: Leo Yan <[email protected]>
---
tools/perf/examples/bpf/augmented_raw_syscalls.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/tools/perf/examples/bpf/augmented_raw_syscalls.c b/tools/perf/examples/bpf/augmented_raw_syscalls.c
index 7dc24c9173a7..4203f92c063b 100644
--- a/tools/perf/examples/bpf/augmented_raw_syscalls.c
+++ b/tools/perf/examples/bpf/augmented_raw_syscalls.c
@@ -389,7 +389,6 @@ int sys_enter(struct syscall_enter_args *args)
* initial, non-augmented raw_syscalls:sys_enter payload.
*/
unsigned int len = sizeof(augmented_args->args);
- struct syscall *syscall;

if (pid_filter__has(&pids_filtered, getpid()))
return 0;
--
2.34.1