diff options
| author | 2026-05-24 08:28:53 +0530 | |
|---|---|---|
| committer | 2026-05-28 20:02:57 -0700 | |
| commit | 9a720e090eb5155fbd584a3f7eca18f82610a2b3 (patch) | |
| tree | c55d4a441fe7425ee686d654ef59adfdb1f85860 /scripts/Makefile.thinlto | |
| parent | bpf: Fix race between bpf_map_new_fd() and close_fd() (diff) | |
bpf: replace pop/push emptiness check with bpf_list_empty()
Simplify fq_flows_is_empty() by replacing the pop/push based emptiness
check with a direct call to bpf_list_empty().
This avoids unnecessary list mutation and simplifies the code while
preserving correctness.
Signed-off-by: Suchit Karunakaran <suchitkarunakaran@gmail.com>
Changes since v1:
- Removed unused variable node
Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Link: https://lore.kernel.org/r/20260524025853.13786-1-suchitkarunakaran@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
