diff options
| author | Daniel T. Lee <[email protected]> | 2022-12-18 15:14:51 +0900 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2022-12-19 14:21:05 -0800 |
| commit | 13aa2a92840dd49a64362ddd1e4d16084a4b9e0f (patch) | |
| tree | aa63b6892020410bcaa98de45721b5e08432f583 /tools/perf/scripts/python | |
| parent | e2bb9e01d589f7fa82573aedd2765ff9b277816a (diff) | |
samples/bpf: remove unused function with test_lru_dist
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 <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions