Skip to content

Commit

Permalink
libbpf, hashmap: Remove unused #include
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ian Rogers authored and Daniel Borkmann committed May 15, 2020
1 parent 2ec0616 commit f516acd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/lib/bpf/hashmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit f516acd

Please sign in to comment.