Because compile samples/bpf/test_lru_dist failure, I remove the declaration of the struct list_head. Signed-off-by: Ruijian Li <ruijian63@xxxxxxxxx> --- samples/bpf/test_lru_dist.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/samples/bpf/test_lru_dist.c b/samples/bpf/test_lru_dist.c index 75e877853596..dd7eb470653b 100644 --- a/samples/bpf/test_lru_dist.c +++ b/samples/bpf/test_lru_dist.c @@ -33,10 +33,6 @@ static int nr_cpus; static unsigned long long *dist_keys; static unsigned int dist_key_counts; -struct list_head { - struct list_head *next, *prev; -}; - static inline void INIT_LIST_HEAD(struct list_head *list) { list->next = list; -- 2.32.0