diff options
author | 2018-10-19 13:52:38 -0700 | |
---|---|---|
committer | 2018-10-19 13:52:38 -0700 | |
commit | 540fefc08f75aedb517acbf525d393b8efddabd9 (patch) | |
tree | 30ab62634a23a371db33eaff36a47afa40359585 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'cg_skb_direct_pkt_access' (diff) | |
download | wireguard-linux-540fefc08f75aedb517acbf525d393b8efddabd9.tar.xz wireguard-linux-540fefc08f75aedb517acbf525d393b8efddabd9.zip |
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: bd513cd08f10 ("bpf: add MAP_LOOKUP_AND_DELETE_ELEM syscall")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions