diff options
author | Zhu Jun <zhujun2@cmss.chinamobile.com> | 2024-09-25 03:00:05 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-10-03 17:47:35 -0700 |
commit | 89abc4080301cad681a52217a2a622dcd8947193 (patch) | |
tree | 849eed6db662b1eb7ac76552b9d49e3c67d3ec53 | |
parent | 78971150660650cd22ef236c708aab3a7620e2fa (diff) | |
download | linux-89abc4080301cad681a52217a2a622dcd8947193.tar.gz linux-89abc4080301cad681a52217a2a622dcd8947193.tar.bz2 linux-89abc4080301cad681a52217a2a622dcd8947193.zip |
tools/bpf: Remove unused variable from runqslower
This variable is never referenced in the code, just remove it.
Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240925100005.3989-1-zhujun2@cmss.chinamobile.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
-rw-r--r-- | tools/bpf/runqslower/runqslower.bpf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/bpf/runqslower/runqslower.bpf.c b/tools/bpf/runqslower/runqslower.bpf.c index 9a5c1f008fe6..fced54a3adf6 100644 --- a/tools/bpf/runqslower/runqslower.bpf.c +++ b/tools/bpf/runqslower/runqslower.bpf.c @@ -70,7 +70,6 @@ int handle__sched_switch(u64 *ctx) struct task_struct *next = (struct task_struct *)ctx[2]; struct runq_event event = {}; u64 *tsp, delta_us; - long state; u32 pid; /* ivcsw: treat like an enqueue event and store timestamp */ |