Re: [bpf-next 1/3] samples/bpf: remove unused function with test_lru_dist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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@xxxxxxxxx>

Acked-by: Yonghong Song <yhs@xxxxxx>



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux