mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
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: Zhu Jun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
This commit is contained in:
1 parent
9aef3aaa70
commit
adf120e1be
1 file changed
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user