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

From: Leo Yan
Date: Mon Nov 21 2022 - 02:53:28 EST


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

Signed-off-by: Leo Yan <leo.yan@xxxxxxxxxx>
---
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