Skip to content
Commit 540fefc0 authored by Alexei Starovoitov's avatar Alexei Starovoitov
Browse files

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: bd513cd0

 ("bpf: add MAP_LOOKUP_AND_DELETE_ELEM syscall")
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent d375e344
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment