diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2019-05-06 11:24:43 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-05-06 11:35:17 +0200 |
commit | d24ed99b3b270c6de8f47c25d709b5f6ef7d3807 (patch) | |
tree | bdcca88e477c67b2bd069cd0146c13d8867632fd /tools/testing/selftests/bpf/test_libbpf_open.c | |
parent | 581b31c36cfc58df603c415ab6f3c795611c0ca1 (diff) |
libbpf: remove unnecessary cast-to-void
The patches with fixes tags added a cast-to-void in the places when
the return value of a function was ignored.
This is not common practice in the kernel, and is therefore removed in
this patch.
Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Fixes: 5750902a6e9b ("libbpf: proper XSKMAP cleanup")
Fixes: 0e6741f09297 ("libbpf: fix invalid munmap call")
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing/selftests/bpf/test_libbpf_open.c')
0 files changed, 0 insertions, 0 deletions