Commit adf120e1 authored by Zhu Jun's avatar Zhu Jun Committed by Alexei Starovoitov
Browse files

samples/bpf: Remove unused variable



The variable is never referenced in the code, just remove it
that this problem was discovered by reading code

Signed-off-by: default avatarZhu Jun <zhujun2@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20241120032241.5657-1-zhujun2@cmss.chinamobile.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 9aef3aaa
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -63,7 +63,6 @@ SEC("tc_mark")
int _tc_mark(struct __sk_buff *ctx)
{
	void *data      = (void *)(unsigned long)ctx->data;
	void *data_end  = (void *)(unsigned long)ctx->data_end;
	void *data_meta = (void *)(unsigned long)ctx->data_meta;
	struct meta_info *meta = data_meta;