[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e7fd2a43-300e-68c2-1551-ed6c9cb921f8@meta.com>
Date: Sat, 17 Dec 2022 09:48:45 -0800
From: Yonghong Song <yhs@...a.com>
To: "Daniel T. Lee" <danieltimlee@...il.com>,
Daniel Borkmann <daniel@...earbox.net>,
Alexei Starovoitov <ast@...nel.org>,
Andrii Nakryiko <andrii.nakryiko@...il.com>,
Yonghong Song <yhs@...com>
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [bpf-next 1/3] samples/bpf: remove unused function with
test_lru_dist
On 12/17/22 7:38 AM, Daniel T. Lee wrote:
> Currently, compiling samples/bpf with LLVM warns about the unused
> function with test_lru_dist.
>
> ./samples/bpf/test_lru_dist.c:45:19:
> warning: unused function 'list_empty' [-Wunused-function]
> static inline int list_empty(const struct list_head *head)
> ^
> 1 warning generated.
>
> This commit resolve this compiler warning by removing the abandoned
> function.
>
> Signed-off-by: Daniel T. Lee <danieltimlee@...il.com>
Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists