libbpf: remove unnecessary cast-to-void
authorBjörn Töpel <bjorn.topel@intel.com>
Mon, 6 May 2019 09:24:43 +0000 (11:24 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 6 May 2019 09:35:17 +0000 (11:35 +0200)
commitd24ed99b3b270c6de8f47c25d709b5f6ef7d3807
treebdcca88e477c67b2bd069cd0146c13d8867632fd
parent581b31c36cfc58df603c415ab6f3c795611c0ca1
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>
tools/lib/bpf/xsk.c