Re: [PATCH v2 2/7] libbpf hashmap: Remove unused #include
From: Andrii Nakryiko
Date: Fri May 15 2020 - 15:40:10 EST
On Fri, May 15, 2020 at 9:51 AM Ian Rogers <irogers@xxxxxxxxxx> wrote:
>
> Remove #include of libbpf_internal.h that is unused.
> Discussed in this thread:
> https://lore.kernel.org/lkml/CAEf4BzZRmiEds_8R8g4vaAeWvJzPb4xYLnpF0X2VNY8oTzkphQ@xxxxxxxxxxxxxx/
>
> Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
> ---
Acked-by: Andrii Nakryiko <andriin@xxxxxx>
> tools/lib/bpf/hashmap.h | 1 -
> 1 file changed, 1 deletion(-)
>
> 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)
> {
> --
> 2.26.2.761.g0e0b3e54be-goog
>