perf augmented_raw_syscalls: Remove unused variable 'syscall'
authorLeo Yan <leo.yan@linaro.org>
Mon, 21 Nov 2022 07:52:36 +0000 (07:52 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 23 Nov 2022 13:30:00 +0000 (10:30 -0300)
The local variable 'syscall' is not used anymore, remove it.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: bpf@vger.kernel.org
Link: https://lore.kernel.org/r/20221121075237.127706-5-leo.yan@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/examples/bpf/augmented_raw_syscalls.c

index 7dc24c9..4203f92 100644 (file)
@@ -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;