]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: remove unused variable
authorAlexei Starovoitov <ast@kernel.org>
Fri, 19 Oct 2018 20:52:38 +0000 (13:52 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 19 Oct 2018 20:52:38 +0000 (13:52 -0700)
commita0357cb14ae1a9cdc3bcd40157c8dd93cba8165a
tree30ab62634a23a371db33eaff36a47afa40359585
parentd0e4dee31ea4506fb6d9503b0d9b6a156c8bc46f
bpf: remove unused variable

fix the following warning
../kernel/bpf/syscall.c: In function ‘map_lookup_and_delete_elem’:
../kernel/bpf/syscall.c:1010:22: warning: unused variable ‘ptr’ [-Wunused-variable]
  void *key, *value, *ptr;
                      ^~~

Fixes: 83dea8dd31a9 ("bpf: add MAP_LOOKUP_AND_DELETE_ELEM syscall")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/syscall.c