OSDN Git Service

libbpf, hashmap: Remove unused #include
authorIan Rogers <irogers@google.com>
Fri, 15 May 2020 16:50:02 +0000 (09:50 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 15 May 2020 23:05:16 +0000 (01:05 +0200)
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
tools/lib/bpf/hashmap.h

index bae8879..e823b35 100644 (file)
@@ -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)
 {