Thread (3 messages) 3 messages, 3 authors, 2020-01-17

Re: [PATCH bpf-next] bpf: Remove set but not used variable 'first_key'

From: Alexei Starovoitov <hidden>
Date: 2020-01-17 04:19:48
Also in: bpf, lkml

On Thu, Jan 16, 2020 at 5:41 PM Brian Vazquez [off-list ref] wrote:
On Thu, Jan 16, 2020 at 5:38 PM YueHaibing [off-list ref] wrote:
quoted
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.
Previous logic was using it but I forgot to delete it. Thanks for fixing it!

Acked-by: Brian Vazquez <redacted>
Applied. Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help