diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-01-16 22:53:00 +0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-01-16 20:15:24 -0800 |
commit | 81f2b572cf4fd5c4178fe0e2b5bb1ab096385fd8 (patch) | |
tree | a2c3e4e52fd06dc0be4eafed681aad06fbc27f81 /tools/lib | |
parent | ba92660362ec42db3baee5af2b47b85d70c1c4be (diff) | |
download | linux-81f2b572cf4fd5c4178fe0e2b5bb1ab096385fd8.tar.gz linux-81f2b572cf4fd5c4178fe0e2b5bb1ab096385fd8.tar.bz2 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