Skip to content

Commit b41ec3e

Browse files
Zhu Junanakryiko
authored andcommitted
samples/bpf: Remove unused variable in xdp2skb_meta_kern.c
The variable is never referenced in the code, just remove it. Signed-off-by: Zhu Jun <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent 3fcfbfe commit b41ec3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/bpf/xdp2skb_meta_kern.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ SEC("xdp_mark")
3232
int _xdp_mark(struct xdp_md *ctx)
3333
{
3434
struct meta_info *meta;
35-
void *data, *data_end;
35+
void *data;
3636
int ret;
3737

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

0 commit comments

Comments
 (0)