Commit b41ec3e6 authored by Zhu Jun's avatar Zhu Jun Committed by Andrii Nakryiko
Browse files

samples/bpf: Remove unused variable in xdp2skb_meta_kern.c



The variable is never referenced in the code, just remove it.

Signed-off-by: default avatarZhu Jun <zhujun2@cmss.chinamobile.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241111061514.3257-1-zhujun2@cmss.chinamobile.com
parent 3fcfbfe3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ SEC("xdp_mark")
int _xdp_mark(struct xdp_md *ctx)
{
	struct meta_info *meta;
	void *data, *data_end;
	void *data;
	int ret;

	/* Reserve space in-front of data pointer for our meta info.