Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <zhujun2@cmss.chinamobile.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241111061514.3257-1-zhujun2@cmss.chinamobile.com

authored by

Zhu Jun and committed by
Andrii Nakryiko
b41ec3e6 3fcfbfe3

+1 -1
+1 -1
samples/bpf/xdp2skb_meta_kern.c
··· 32 32 int _xdp_mark(struct xdp_md *ctx) 33 33 { 34 34 struct meta_info *meta; 35 - void *data, *data_end; 35 + void *data; 36 36 int ret; 37 37 38 38 /* Reserve space in-front of data pointer for our meta info.