Skip to content

Commit befb276

Browse files
committed
delay-kfunc: Remove unused counter variable
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
1 parent 2591fd8 commit befb276

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

delay-kfunc/delay-kfunc.bpf.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ struct {
2020

2121
__u64 loop_iterations = 10000;
2222
__u64 avg_delay = 100;
23-
__u64 counter = 0;
2423

2524
static int recurse_loop(__u64 idx, void *ctx)
2625
{
27-
counter++;
2826
return 0;
2927
}
3028

0 commit comments

Comments
 (0)