diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-01-16 15:53:00 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-01-17 05:15:24 +0100 |
commit | 81f2b572cf4fd5c4178fe0e2b5bb1ab096385fd8 (patch) | |
tree | a2c3e4e52fd06dc0be4eafed681aad06fbc27f81 /tools/lib | |
parent | Merge branch 'xdp_redirect-bulking' (diff) | |
download | linux-81f2b572cf4fd5c4178fe0e2b5bb1ab096385fd8.tar.xz linux-81f2b572cf4fd5c4178fe0e2b5bb1ab096385fd8.zip |
bpf: Remove set but not used variable 'first_key'
kernel/bpf/syscall.c: In function generic_map_lookup_batch:
kernel/bpf/syscall.c:1339:7: warning: variable first_key set but not used [-Wunused-but-set-variable]
It is never used, so remove it.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Brian Vazquez <brianvv@google.com>
Link: https://lore.kernel.org/bpf/20200116145300.59056-1-yuehaibing@huawei.com
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions