aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2020-05-15 09:50:02 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2020-05-16 01:05:16 +0200
commitf516acd5397fdbb77ef0aad0798d9ef7c3001d72 (patch)
treeb059b996eb25ba77b7eb5d17135c0849a704d7e8
parentbpf: Fix check_return_code to only allow [0,1] in trace_iter progs (diff)
downloadwireguard-linux-f516acd5397fdbb77ef0aad0798d9ef7c3001d72.tar.xz
wireguard-linux-f516acd5397fdbb77ef0aad0798d9ef7c3001d72.zip
libbpf, hashmap: Remove unused #include
Remove #include of libbpf_internal.h that is unused. Discussed in this thread: https://lore.kernel.org/lkml/CAEf4BzZRmiEds_8R8g4vaAeWvJzPb4xYLnpF0X2VNY8oTzkphQ@mail.gmail.com/ Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200515165007.217120-3-irogers@google.com
-rw-r--r--tools/lib/bpf/hashmap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/lib/bpf/hashmap.h b/tools/lib/bpf/hashmap.h
index bae8879cdf58..e823b35e7371 100644
--- a/tools/lib/bpf/hashmap.h
+++ b/tools/lib/bpf/hashmap.h
@@ -15,7 +15,6 @@
#else
#include <bits/reg.h>
#endif
-#include "libbpf_internal.h"
static inline size_t hash_bits(size_t h, int bits)
{