summaryrefslogtreecommitdiffstats
path: root/kernel/samples/bpf/trace_output_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/samples/bpf/trace_output_kern.c')
-rw-r--r--kernel/samples/bpf/trace_output_kern.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/samples/bpf/trace_output_kern.c b/kernel/samples/bpf/trace_output_kern.c
index 8d8d1ec42..9b96f4fb8 100644
--- a/kernel/samples/bpf/trace_output_kern.c
+++ b/kernel/samples/bpf/trace_output_kern.c
@@ -18,7 +18,6 @@ int bpf_prog1(struct pt_regs *ctx)
u64 cookie;
} data;
- memset(&data, 0, sizeof(data));
data.pid = bpf_get_current_pid_tgid();
data.cookie = 0x12345678;