aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorMaciej Fijalkowski <[email protected]>2022-04-13 15:30:15 +0000
committerDaniel Borkmann <[email protected]>2022-04-15 19:11:17 +0000
commit0fb53aabc5fcdf848ec7adc777baff25a1c6c335 (patch)
treef9774e1ed74bd5cbd26af73dced3190c2845c64d /tools/testing/selftests/bpf/prog_tests
parentice, xsk: Avoid refilling single Rx descriptors (diff)
downloadkernel-0fb53aabc5fcdf848ec7adc777baff25a1c6c335.tar.gz
kernel-0fb53aabc5fcdf848ec7adc777baff25a1c6c335.zip
xsk: Drop ternary operator from xskq_cons_has_entries
Simplify the mentioned helper function by removing ternary operator. The expression that is there outputs the boolean value by itself. This helper might be used in the hot path so this simplification can also be considered as micro optimization. Signed-off-by: Maciej Fijalkowski <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions